NewSelection Type
Constructors
Constructor | Description |
|
|
Static members
Static member | Description |
Full Usage:
NewSelection.init (?LineColor, ?LineDash, ?LineWidth, ?Mode)
Parameters:
Color
-
Sets the line color. By default uses either dark grey or white to increase contrast with background color.
?LineDash : DrawingStyle
-
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
?LineWidth : float
-
Sets the line width (in px).
?Mode : NewSelectionMode
-
Describes how a new selection is created. If `immediate`, a new selection is created after first mouse up. If `gradual`, a new selection is not created after first mouse. By adding to and subtracting from the initial selection, this option allows declaring extra outlines of the selection.
Returns: NewSelection
|
|
Full Usage:
NewSelection.style (?LineColor, ?LineDash, ?LineWidth, ?Mode)
Parameters:
Color
-
Sets the line color. By default uses either dark grey or white to increase contrast with background color.
?LineDash : DrawingStyle
-
Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px").
?LineWidth : float
-
Sets the line width (in px).
?Mode : NewSelectionMode
-
Describes how a new selection is created. If `immediate`, a new selection is created after first mouse up. If `gradual`, a new selection is not created after first mouse. By adding to and subtracting from the initial selection, this option allows declaring extra outlines of the selection.
Returns: NewSelection -> NewSelection
|
|