API Collection
GSLayer Bounds
Bounding rectangles of outlines, selections, and metrics.
Overview
Layer bounds describe shape geometry in layer coordinates.
Missing bounds information is indicated either by returning NSZeroRect or CGRectNull depending on the API. Check the specific API documentation for more details.
Topics
Bounds
The drawable bounds of the layer.
The overestimated bounds of the layer’s shapes.
Left edge of bounds()boundsbounds.
Bottom edge of bounds()boundsbounds.
Right edge of bounds()boundsbounds.
Top edge of bounds()boundsbounds.
The drawable bounds of the layer after applying a transform.
The drawable bounds of the layer after applying a transform.
The bounds of the current selection.
The bounds of the current selection after applying a transform.
Metrics Geometry
The metrics rectangle for a writing direction.
The transform used to draw metrics in layer coordinates.
See Also
The different roles that a layer can serve.
The paths and components that form the outline of a layer.
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.
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.