Skip to main content

Class: Intersector

Manipulation.Intersector(modeopt)

Intersect manipulation implementation

Constructor

new Intersector(modeopt)

Parameters:
NameTypeAttributesDefaultDescription
modeManipulation.Intersector.Mode<optional>WHOLE_STROKEManipulator scope

Extends

Methods

(async) intersect(input, brushopt) → Manipulation.OperationResult

Analyse ink data and allocates affected segments

Parameters:
NameTypeAttributesDescription
inputStroke|PathBuilding.InterpolatedSpline|PathBuilding.Spline
brushRendering.2D.Brush2D<optional>Required when input is a spline or interpolated spline
Returns:

Intersect result

Type

Manipulation.OperationResult

Type Definitions

Mode

Enumeration of available manipulation modes

Properties:
NameTypeDescription
WHOLE_STROKEobject
PARTIAL_STROKEobject

Home