Instance Method
setAnchorArray(_:)setAnchorArray:setAnchorArray_
Replaces all anchors with anchors from an array.
Declaration
func setAnchorArray(_ anchors: [GSAnchor])Declaration
- (void) setAnchorArray:(NSArray<GSAnchor *> *) anchors;Declaration
setAnchorArray_(anchors: list[GSAnchor])See Also
Anchors
Layer anchors keyed by anchor name.
The number of anchors on the layer.
Adds or replaces an anchor by name.
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.