# STNSignatureProtocol

Implements SignatureProtocol

This class implements the STN Protocol for the Scriptel ScripTouch keyboard EasyScript products.

package | Application

### Methods

## This method returns the character that denotes the signature has been canceled.

    getCancel() : string

### Response

`string`

Cancel character for this protocol.

## This method returns the character that denotes the end of a stream.

    getEndStream() : string

### Response

`string`

Character that ends a stream.

## This method should return the height of the device's display in pixels.

    getHeight() : int

### Response

`int`

Height in pixels.

## This method returns the character that denotes a "pen up" event, or the start of a new stroke.

    getPenUp() : string

### Response

`string`

Character separating strokes.

## This method returns the "sentinel" for the stream, the set of characters immediately following the start character.

    getSentinel() : string

### Response

`string`

The streams sentinel.

## This method returns the character that denotes the start of a new signature.

    getStartStream() : string

### Response

`string`

Character that starts a stream.

## This method returns the width of the device's display in pixels.

    getWidth() : int

### Response

`int`

Width in pixels.

## This method returns a two dimensional array containing the values for the high and low x bytes.

    getXValues() : \com\scriptel\byte[][]

### Response

`\com\scriptel\byte[][]`

Decoding table for X coordinates.

## This method returns a two dimensional array containing the values for the high and low y bytes.

    getYValues() : \com\scriptel\byte[][]

### Response

`\com\scriptel\byte[][]`

Decoding table for the Y coordinates.

### Constants

## The chcaracter that denotes the start of a new signature.

    START_STREAM

## The chcaracter that denotes the end of a signature.

    END_STREAM

## The character that denotes a "pen up" event, or the start of a new stroke.

    PEN_UP

## The character that denotes the signature has been canceled.

    CANCEL

## The "sentinel" for the stream, the set of characters immediately following the start character.

    SENTINEL

## The width of the device's display in pixels.

    WIDTH

## The height of the device's display in pixels.

    HEIGHT

### Properties

## A two dimensional array containing the values for the high and low x bytes.

    xValues :

## A two dimensional array containing the values for the high and low y bytes.

    yValues :