API Collection
GSLayer State
Layer state management.
Overview
Topics
Layer State
Whether the layer participates in interpolation and export.
Whether the layer is displayed with other layers in Edit view.
Whether clients should prevent editing the layer.
Update State
The time of the most recent geometry invalidation.
The most recent update affecting the layer or its referenced content.
The most recent update affecting the layer or its referenced content, while avoiding component cycles.
Whether derived representations are newer than changes that affect the layer.
Whether the layer is currently updating its side bearings.
A KVO dependency key for changes to any content of the layer.
Update Control
Whether updates and change notifications are deferred.
Suppresses update tracking for current and subsequent changes.
Whether update tracking is suppressed.
Defers updates and change notifications.
Performs work while deferring updates and change notifications.
Processes deferred updates and sends combined change notifications.
Resumes updates without reporting changes made while updates were disabled or ignored.
Marking Updates
Notifies the layer that one of its elements changed.
Marks representations derived from the layer geometry as needing an update.
Marks the cached side bearings as needing an update.
Marks the cached side bearings as needing an update without locking.
Loads content referenced by components in preparation for subsequent access.
Undo
The undo manager of the containing glyph when the layer belongs to that glyph.
The undo manager of the containing glyph when undo registration is enabled.
Locking
Enables thread synchronization for a layer created without locks.
Disables thread synchronization for the layer.
Topics
Layer State
Whether the layer participates in interpolation and export.
Whether the layer is displayed with other layers in Edit view.
Whether clients should prevent editing the layer.
Update State
The time of the most recent geometry invalidation.
The most recent update affecting the layer or its referenced content.
The most recent update affecting the layer or its referenced content, while avoiding component cycles.
Whether derived representations are newer than changes that affect the layer.
Whether the layer is currently updating its side bearings.
A KVO dependency key for changes to any content of the layer.
Update Control
Whether updates and change notifications are deferred.
Suppresses update tracking for current and subsequent changes.
Whether update tracking is suppressed.
Defers updates and change notifications.
Processes deferred updates and sends combined change notifications.
Resumes updates without reporting changes made while updates were disabled or ignored.
Marking Updates
Notifies the layer that one of its elements changed.
Marks representations derived from the layer geometry as needing an update.
Marks the cached side bearings as needing an update.
Marks the cached side bearings as needing an update without locking.
Loads content referenced by components in preparation for subsequent access.
Undo
The undo manager of the containing glyph when the layer belongs to that glyph.
The undo manager of the containing glyph when undo registration is enabled.
Locking
Enables thread synchronization for a layer created without locks.
Disables thread synchronization for the layer.
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.
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.