Class: Selector
Manipulation.Selector(modeopt)
Select manipulation implementation
Constructor
new Selector(modeopt)
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
mode | Manipulation.Selector.Mode | <optional> | WHOLE_STROKE | Manipulator scope |
Extends
Methods
select(input) → Manipulation.OperationResult
Allocates affected segments and provides information for fully selected strokes
Parameters:
Name | Type | Description |
---|---|---|
input | Stroke|PathBuilding.Polygon | Selector input |
Returns:
Select result
Type
Type Definitions
Mode
Enumeration of available manipulation modes
Properties:
Name | Type | Description |
---|---|---|
WHOLE_STROKE | object | Operation scope covers allocating of whole strokes |
PARTIAL_STROKE | object | Operation scope covers allocating of overlapped segments and removing of them |
PARTIAL_INCLUSIVE | object | Operation scope covers allocating of overlapped segments and application over segments inside selection |
PARTIAL_EXCLUSIVE | object | Operation scope covers allocating of overlapped segments and application over segments outside selection |