Class: PrecisionDetector
Serialization.PrecisionDetection.PrecisionDetector()
Provides functionality for automatic calculation and assigning of encoding precision schemes to ink strokes
Constructor
new PrecisionDetector()
Properties:
Name | Type | Description |
---|---|---|
calculator | Serialization.PrecisionDetection.PrecisionCalculator | Precision detector calculator |
Methods
determinePrecisions(strokes) → {int}
Automatically determines and sets encoding precision schemes to the supplied strokes
Parameters:
Name | Type | Description |
---|---|---|
strokes | Array.<Stroke> |
Returns:
precision
Type
int
Type Definitions
StatType
Enumeration of precision detection stats
Properties:
Name | Type | Description |
---|---|---|
NONE | object | |
POSITION | object | |
SIZE | object | |
ROTATION | object | |
SCALE | object | |
OFFSET | object |