Instance Property
anchors
Layer anchors keyed by anchor name.
Declaration
var anchors: [String : GSAnchor] { get set }Declaration
@property (nonatomic, strong) NSDictionary<NSString *,GSAnchor *> * anchors;Declaration
pyobjc_instanceMethods.anchors() -> dict[str, GSAnchor]
pyobjc_instanceMethods.setAnchors_(anchors: dict[str, GSAnchor])Discussion
The dictionary keys are the anchor names. Setting this property replaces all anchors.
See Also
Anchors
The number of anchors on the layer.
Adds or replaces an anchor by name.
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.