Instance Method
addAxis(_:)addAxis:addAxis_
Adds a font axis.
Declaration
func addAxis(_ axis: GSAxis)Declaration
- (void) addAxis:(GSAxis *) axis;Declaration
addAxis_(axis: GSAxis)Parameters
axisThe axis to add.
Discussion
The axis becomes owned by the font.
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 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.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 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.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.