Instance Method
addAnchor(_:)addAnchor:addAnchor_
Adds or replaces an anchor by name.
Declaration
func addAnchor(_ anchor: GSAnchor)Declaration
- (void) addAnchor:(GSAnchor *) anchor;Declaration
addAnchor_(anchor: GSAnchor)Discussion
An unnamed anchor receives a generated name.
See Also
Anchors
Layer anchors keyed by anchor name.
The number of anchors on the layer.
Replaces all anchors with anchors from an array.
Replaces all anchors without undo registration or change notifications.
Removes an anchor from the layer.
Removes the anchor with a name.
Swaps two anchor names without undo registration or change notifications.
Updates layer anchor lookup after an owned anchor changes its name.