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:Duplicate()

Selection:Group()

Groups or ungroups the currently selected strokes and widgets

Returns: nil

Example

Selection:Group()

Selection:Invert()

Inverts the current selection

Returns: nil

Example

Selection:Invert()

Selection:Flip()

Flips (mirrors) the current selected items horizontally

Returns: nil

Example

Selection:Flip()

Selection:Recolor()

Changes the color of all currently selected brush strokes

Returns: nil

Example

Selection:Recolor()

Selection:Rebrush()

Changes the brush type for all currently selected brush strokes

Returns: nil

Example

Selection:Rebrush()

Selection:Resize()

Changes the size of all currently selected brush strokes

Returns: nil

Example

Selection:Resize()

Selection:Trim(count)

Trims control points from all selected brush strokes. Resulting empty strokes are deleted.

Returns: nil

Parameters:

NameTypeDefaultDescription

count

number

The number of points to trim from each stroke

Example

Selection:Trim(5)

Last updated