Class: InkPath
InkModel.InkPath(fragmentopt)
new InkPath(fragmentopt)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
fragment | PathBuilding.SplineFragment | <optional> | Content part descriptor, not applicable for SensorData |
Properties:
Name | Type | Description |
---|---|---|
content | Stroke|InkInput.SensorData |
Extends
Methods
remove()
Removes itself from the ink model tree
Overrides:
split(index, tValueopt) → {Array.<InkModel.InkPath>}
Split node to chunk segments
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
index | int | Control point index, where to split | ||
tValue | float | <optional> | 1 | Precize control over position |
Returns:
2 elements array with split nodes
Type
Array.<InkModel.InkPath>