Class: ScriptelSignature

ScriptelSignature

This class represents a parsed signature string.

new ScriptelSignature()

Constructor, creates a new instance of this class.

Members

model :string

The model of the device that captured the signature.

protocolVersion :string

The captured protocol version, at present 'A, B, C , D' exists.

strokes

An array of coordinate arrays containing the pen strokes parsed from the signature stream.

type

The type name

version :string

The currently running version of the firmware on the device that captured the signature.

Methods

crop()

This method takes a signature and crops it to fit in the smallest amount of space possible.

getBounds() → {ScriptelBoundingBox}

This method gets the bounding box around the current signature.
Returns:
Bounding box describing the limits of the signature.
Type
ScriptelBoundingBox