Instance Method
compatibleLayerGroupIds(for:)compatibleLayerGroupIdsForLayer:compatibleLayerGroupIdsForLayer_
The identifiers of layers in the same group that have compatible shapes, anchors, and path-component hints.
Declaration
func compatibleLayerGroupIds(for layer: GSLayer) -> [String]?Declaration
- (NSArray<NSString *> *) compatibleLayerGroupIdsForLayer:(GSLayer *) layer;Declaration
compatibleLayerGroupIdsForLayer_(layer: GSLayer) -> list[str]Parameters
layerA layer belonging to the glyph.
Discussion
Layers without shapes or a background image do not participate in the grouping. Returns nil for a background layer or a layer that is not in a group.
See Also
Layer Groups
The layer identifier groups used to check compatibility and coordinate edits across corresponding layers.
The layer identifier groups required by a set of instances.
The layer identifier groups formed without reference to configured instances.
The forced layer group containing a layer, or
nilwhen the layer is not in a group.The forced layer group containing a layer, or
nilwhen the layer is not in a group.The forced layer group containing a layer as an array, or
nilwhen the layer is not in a group.The font masters including representations of active Intermediate-layer locations.