API Collection
GSLayer Interpolation
Axis coordinates and rules that place layers in a design space.
Overview
An Intermediate layer contributes interpolation data at explicit coordinates. Its coordinates can include font axes and glyph-local axes used by smart components. Omitted coordinates resolve to the associated master or the axis default where the API provides a complete location. Axis discovery generally requires the layer to be attached to a glyph and font.
An Alternative layer replaces the layer associated with the same master when its axis rules match. Rule bounds are inclusive and use internal axis values.
Topics
Variation Axes
Axes used to locate the layer in its design space.
Internal value for an axis, or
nilwhen the axis is unknown.Whether axis values satisfy all bounds in a set of Alternative-layer rules.
Intermediate Layers
Explicit Intermediate-layer coordinates keyed by axis ID.
Returns an explicit Intermediate-layer coordinate, or
NSNotFoundwhen no coordinate is set for the axis.Axes represented by Intermediate-layer coordinates.
Copies explicit Intermediate-layer coordinates into an axis-value buffer.
Copies the internal values for the requested axes into a buffer.
A stable key describing the complete Intermediate-layer location.
A display description of the explicit Intermediate-layer coordinates.
Alternative Layers
Alternative-layer axis rules keyed by axis ID.
A display string for an axis rule.
A display description of the Alternative-layer axis rules.
Topics
Variation Axes
Axes used to locate the layer in its design space.
Internal value for an axis.
Whether axis values satisfy all bounds in a set of Alternative-layer rules.
Intermediate Layers
Explicit Intermediate-layer coordinates keyed by axis ID.
Returns an explicit Intermediate-layer coordinate, or
NSNotFoundwhen no coordinate is set for the axis.Axes represented by Intermediate-layer coordinates.
Copies explicit Intermediate-layer coordinates into an axis-value buffer.
Copies the internal values for the requested axes into a buffer.
A stable key describing the complete Intermediate-layer location.
A display description of the explicit Intermediate-layer coordinates.
Alternative Layers
Alternative-layer axis rules keyed by axis ID.
A display string for an axis rule.
A display description of the Alternative-layer axis rules.
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.
Named attachment points on 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.
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.