Class: Intersector
Manipulation.Intersector(modeopt)
Intersect manipulation implementation
Constructor
new Intersector(modeopt)
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
mode | Manipulation.Intersector.Mode | <optional> | WHOLE_STROKE | Manipulator scope |
Extends
Methods
(async) intersect(input, brushopt) → Manipulation.OperationResult
Analyse ink data and allocates affected segments
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
input | Stroke|PathBuilding.InterpolatedSpline|PathBuilding.Spline | ||
brush | Rendering.2D.Brush2D | <optional> | Required when input is a spline or interpolated spline |
Returns:
Intersect result
Type
Type Definitions
Mode
Enumeration of available manipulation modes
Properties:
Name | Type | Description |
---|---|---|
WHOLE_STROKE | object | |
PARTIAL_STROKE | object |