API Collection
GSLayer Anchors
Named attachment points on a layer.
Overview
Anchors are named positions used for mark attachment, component alignment, cursive attachment, and other use cases.
Component traversal resolves anchors from components as if those components contributed their anchors to the layer. The resolved anchors use the component transform and component anchor settings.
Topics
A named point in a layer used for attachment and positioning.
Anchors
Layer anchors keyed by anchor name.
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.
Anchor Lookup
Anchor for a name.
Anchor for a name, optionally resolving component anchors.
Component Anchors
Anchor names available after resolving component anchors.
Anchor names available before a component in shape order.
Anchors available after resolving component anchors.
Anchors available after resolving component anchors, keyed by anchor name.
Copies resolved component anchors into the layer.
Anchor Utilities
Anchor name adjusted for a component scale.
Anchor Locks
Acquires the read lock for anchors.
Releases the read lock for anchors.
Acquires the write lock for anchors.
Releases the write lock for anchors.
See Also
The different roles that a layer can serve.
The paths and components that form the outline of a layer.
Bounding rectangles of outlines, selections, and metrics.
Side bearings, baseline offsets, layer box, and metrics keys.
Setting for rounding coordinates on a layer.
Background content and reference images associated with a layer.
Manual and generated hint data on a layer.
Layer-local guides used while editing outlines.
Spacing adjustment between specific layers.
Layer-local notes displayed with a glyph.
Axis coordinates and rules that place layers in a design space.
Colors used to draw a layer.
Additional values stored for a layer.
Intersections between layer outlines and line segments.
Operations for modifying outlines and other layer content.