Selection
Summary
Various actions related to selections of strokes and widgets
Class Methods
Selection:Deselect()
Returns: nil
Selection:Duplicate()
Duplicates the currently selected items
Returns: nil
Example
Selection:Group()
Groups or ungroups the currently selected strokes and widgets
Returns: nil
Example
Selection:Invert()
Inverts the current selection
Returns: nil
Example
Selection:Flip()
Flips (mirrors) the current selected items horizontally
Returns: nil
Example
Selection:Recolor()
Changes the color of all currently selected brush strokes
Returns: nil
Example
Selection:Rebrush()
Changes the brush type for all currently selected brush strokes
Returns: nil
Example
Selection:Resize()
Changes the size of all currently selected brush strokes
Returns: nil
Example
Selection:Trim(count)
Trims control points from all selected brush strokes. Resulting empty strokes are deleted.
Returns: nil
Parameters:
Name | Type | Default | Description |
---|---|---|---|
count | number | The number of points to trim from each stroke |
Example
Last updated