Instance Method
index(of:)
The index of a font axis, or nil when the axis is not in the font.
Not available in Objective-C.Not available in Python.
Declaration
func index(of axis: GSAxis) -> Int?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 canonical font axes.
Returns the font axis with an identifier, or
nilwhen no axis matches.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.