This class represents a parsed signature from a Scriptel ScripTouch EasyScript device.
package |
Application |
---|
__construct(\com\scriptel\SignatureMetaDatasignatureMetaData, \com\scriptel\Coordinate[][]strokes) : mixed
\com\scriptel\SignatureMetaData
All of the non-signature related data.
\com\scriptel\Coordinate[][]
List of strokes containing coordinates.
mixed
crop() : mixed
mixed
getBounds() : \com\scriptel\BoundingBox
\com\scriptel\BoundingBox
The bounding box surrounding the signature.
getHeight() : int
int
getImagePng(intscale = 1, intlineThickness = 1, int[]foreColor = array(0, 0, 0, 0), int[]backColor = array(0xff, 0xff, 0xff, 127), stringfileName = false) : mixed
int
Scale Scale by which to scale the signature up or down in size.
int
The thickness of the resulting line. This is scaled up and down with scale.
int[]
A four index array containing the color of the foreground color in red, green, blue, alpha format.
int[]
A four index array containing the coolor of the background color in red, green, blue, alpha format.
string
The file name to save this image as, if omitted it will be printed.
mixed
getModel() : string
string
Model number.
getProtocolVersion() : string
string
Protocol version.
getSignatureMetaData() : \com\scriptel\SignatureMetaData
\com\scriptel\SignatureMetaData
Metadata associated with this signature.
getStrokes() : \com\scriptel\Coordinate[][]
\com\scriptel\Coordinate[][]
List of strokes.
getVersion() : string
string
Firmware version.
getWidth() : int
int
setHeight(mixedheight) : mixed
mixed
mixed
setWidth(mixedwidth) : mixed
mixed
mixed
protocolVersion : string
var |
---|
string
model : string
var |
---|
string
version : string
var |
---|
string
strokes : \com\scriptel\Coordinate[][]
signatureProtocol : \com\scriptel\SignatureProtocol
width : int
var |
---|
int
height : int
var |
---|
int