Instance Method
collectBraceLayerIDsMasters(_:allKeys:) collectBraceLayerIDsMasters:allKeys: collectBraceLayerIDsMasters_allKeys_
The font masters including representations of active Intermediate-layer locations.
Declaration
func collectBraceLayerIDsMasters(_ masters: [GSFontMaster], allKeys: NSOrderedSet) -> [GSFontMaster]?Declaration
- (NSArray<GSFontMaster *> *) collectBraceLayerIDsMasters:(NSArray<GSFontMaster *> *) masters allKeys:(NSOrderedSet<NSString *> *) allKeys;Declaration
collectBraceLayerIDsMasters_allKeys_(masters: list[GSFontMaster], allKeys: NSOrderedSet<NSString *>) -> list[GSFontMaster]Parameters
mastersThe original font masters.
allKeysThe layer and font master identifiers to inspect.
Discussion
This allows instance interpolation to account for Intermediate-layer locations. Returns nil when no qualifying Intermediate layer is found.
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 identifiers of layers in the same group that have compatible shapes, anchors, and path-component hints.