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\SignatureMetaDataAll of the non-signature related data.
\com\scriptel\Coordinate[][]List of strokes containing coordinates.
mixed
crop() : mixed
mixed
getBounds() : \com\scriptel\BoundingBox
\com\scriptel\BoundingBoxThe 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
intScale Scale by which to scale the signature up or down in size.
intThe 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.
stringThe file name to save this image as, if omitted it will be printed.
mixed
getModel() : string
stringModel number.
getProtocolVersion() : string
stringProtocol version.
getSignatureMetaData() : \com\scriptel\SignatureMetaData
\com\scriptel\SignatureMetaDataMetadata associated with this signature.
getStrokes() : \com\scriptel\Coordinate[][]
\com\scriptel\Coordinate[][]List of strokes.
getVersion() : string
stringFirmware 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