Global
Members
(constant) version :string
digital-ink 2.0.0
Type:
- string
Type Definitions
Point
Represents point
Properties:
Name | Type | Description |
---|---|---|
x | float | X position |
y | float | Y position |
Polygon
Sequence of X and Y coordinates which describes polygon shape
Type:
- Array.<float>|Float32Array
Properties
Key-value pairs related with underlying context
Type:
- Object
Scale
Scale factor
Properties:
Name | Type | Description |
---|---|---|
x | float | Scale factor via x axis |
y | float | Scale factor via y axis |
Size
Represents size
Properties:
Name | Type | Description |
---|---|---|
width | float | Width length |
height | float | Height length |
Translate
Translation distance
Properties:
Name | Type | Description |
---|---|---|
x | float | Translate via x axis |
y | float | Translate via y axis |