Instance Method
glyphsContainingComponent(withName:masterId:) glyphsContainingComponentWithName:masterId: glyphsContainingComponentWithName_masterId_
Returns glyphs that reference a component glyph on a master layer.
Declaration
func glyphsContainingComponent(withName glyphName: String, masterId masterID: String) -> [GSGlyph]Declaration
- (NSArray<GSGlyph *> *) glyphsContainingComponentWithName:(NSString *) glyphName masterId:(NSString *) masterID;Declaration
glyphsContainingComponentWithName_masterId_(glyphName: str, masterID: str) -> list[GSGlyph]Parameters
glyphNameThe component glyph name to find.
masterIDThe master identifier whose layer is searched in each glyph.
Discussion
The search includes component shapes and path-component hints on the layer for the specified master. A glyph is returned at most once.
See Also
Glyph Relationships
Returns component glyph names used by a glyph.
Returns component glyph names used by a glyph on a master.
Glyph information used to derive glyph metadata and component relationships.