Instance Method
axis(forId:)axisForId:axisForId_
Returns the font axis with an identifier, or nil when no axis matches.
Declaration
func axis(forId axisId: String) -> GSAxis?Declaration
- (GSAxis *) axisForId:(NSString *) axisId;Declaration
axisForId_(axisId: str) -> GSAxisParameters
axisIdThe axis identifier to look up.
Discussion
Axis identifiers are used by masters, instances, layers, and glyphs to store coordinates.
See Also
Axes
The font axes defining the font design space.
The number of font axes.
The font axis at an index, or
nilwhen the index is out of range.The index of a font axis, or
nilwhen the axis is not in the font.The canonical font axes.
Returns the font axis with a name, or
nilwhen no axis matches.Returns the font axis with an OpenType variation tag, or
nilwhen no axis matches.Adds a font axis.
Inserts a font axis at an index.
Removes a font axis.
Removes the font axis at an index.
Returns font axes derived from legacy master coordinate data.
See Also
Axes
The font axes defining the font design space.
The number of font axes.
The font axis at an index, or
nilwhen the index is out of range.Returns the index of a font axis, or
NSNotFoundwhen the axis is not in the font.The canonical font axes.
Returns the font axis with a name, or
nilwhen no axis matches.Returns the font axis with an OpenType variation tag, or
nilwhen no axis matches.Adds a font axis.
Inserts a font axis at an index.
Removes a font axis.
Removes the font axis at an index.
Returns font axes derived from legacy master coordinate data.