Instance Method
addSelection(_:)addSelection:addSelection_
Adds an element to the selection if it is not already selected.
Declaration
func addSelection(_ newSelection: any GSSelectableElementProtocol)Declaration
- (void) addSelection:(GSSelectableElement *) newSelection;Declaration
addSelection_(newSelection: GSSelectableElement)See Also
Selection
The selected elements in selection order.
The number of selected elements.
Replaces the selection and registers the previous selection for undo.
Adds elements to the selection, preserving their order.
Replaces the selection without registering undo.
Removes the selected element at an index.
Removes an element from the selection.
Removes elements from the selection.
Clears the selection without registering undo.
Clears the selection and registers the previous selection for undo.
Whether an element is selected.