Skip to main content

Class: PrecisionDetector

Serialization.PrecisionDetection.PrecisionDetector()

Provides functionality for automatic calculation and assigning of encoding precision schemes to ink strokes

Constructor

new PrecisionDetector()

Properties:
NameTypeDescription
calculatorSerialization.PrecisionDetection.PrecisionCalculatorPrecision detector calculator

Methods

determinePrecisions(strokes) → {int}

Automatically determines and sets encoding precision schemes to the supplied strokes

Parameters:
NameTypeDescription
strokesArray.<Stroke>
Returns:

precision

Type

int

Type Definitions

StatType

Enumeration of precision detection stats

Properties:
NameTypeDescription
NONEobject
POSITIONobject
SIZEobject
ROTATIONobject
SCALEobject
OFFSETobject

Home