Skip to main content

Class: Selector

Manipulation.Selector(modeopt)

Select manipulation implementation

Constructor

new Selector(modeopt)

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

Extends

Methods

select(input) → Manipulation.OperationResult

Allocates affected segments and provides information for fully selected strokes

Parameters:
NameTypeDescription
inputStroke|PathBuilding.PolygonSelector input
Returns:

Select result

Type

Manipulation.OperationResult

Type Definitions

Mode

Enumeration of available manipulation modes

Properties:
NameTypeDescription
WHOLE_STROKEobjectOperation scope covers allocating of whole strokes
PARTIAL_STROKEobjectOperation scope covers allocating of overlapped segments and removing of them
PARTIAL_INCLUSIVEobjectOperation scope covers allocating of overlapped segments and application over segments inside selection
PARTIAL_EXCLUSIVEobjectOperation scope covers allocating of overlapped segments and application over segments outside selection

Home