Instance Method
fontMaster(forId:)fontMasterForId:fontMasterForId_
Returns the local or imported master with an identifier, or nil when no master matches.
Declaration
func fontMaster(forId id: String?) -> GSFontMaster?Declaration
- (GSFontMaster *) fontMasterForId:(NSString *) id;Declaration
fontMasterForId_(id: str) -> GSFontMasterDiscussion
Master identifiers are used by layers, kerning, metrics, and interpolation data.
See Also
Masters
The local masters of the font.
The number of local masters.
Returns the local or imported master at an index, or
nilwhen the index is out of bounds.The index of a local master, or
nilwhen the master is not in the font.Returns the first local or imported master with a name, or
nilwhen no master matches.Returns the master used as the default interpolation origin.
Returns an unused master identifier.
Inserts a local master without adding layer content.
Appends a local master without adding layer content.
Removes a local master without removing layer content.
See Also
Masters
The local masters of the font.
The number of local masters.
Returns the local or imported master at an index, or
nilwhen the index is out of bounds.Returns the index of a local master, or
NSNotFoundwhen the master is not local.Returns the first local or imported master with a name, or
nilwhen no master matches.Returns the master used as the default interpolation origin.
Returns an unused master identifier.
Inserts a local master without adding layer content.
Appends a local master without adding layer content.
Removes a local master without removing layer content.