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

glyphName

The component glyph name to find.

masterID

The 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