Declaration

func layer(forId key: String) -> GSLayer?

Declaration

- (GSLayer *) layerForId:(NSString *) key;

Declaration

layerForId_(key: str) -> GSLayer

Parameters

key

A layer or font master identifier.

Discussion

When a font master has this identifier but its master layer is missing, this method obtains the corresponding master layer and adds it to the glyph when necessary. Use layer(forIdFast:)layerForIdFast:layerForIdFast_ for a lookup that does not add a layer.

See Also

Layers