Skip to main content

Class: InkPath

InkModel.InkPath(fragmentopt)

new InkPath(fragmentopt)

Parameters:
NameTypeAttributesDescription
fragmentPathBuilding.SplineFragment<optional>Content part descriptor, not applicable for SensorData
Properties:
NameTypeDescription
contentStroke|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:
NameTypeAttributesDefaultDescription
indexintControl point index, where to split
tValuefloat<optional>1Precize control over position
Returns:

2 elements array with split nodes

Type

Array.<InkModel.InkPath>

Home