Instance Method
insertAxis(_:at:) insertObject:inAxesAtIndex: insertObject_inAxesAtIndex_
Inserts a font axis at an index.
Declaration
func insertAxis(_ axis: GSAxis, at idx: UInt)Declaration
- (void) insertObject:(GSAxis *) axis inAxesAtIndex:(NSUInteger) idx;Declaration
insertObject_inAxesAtIndex_(axis: GSAxis, idx: int)Parameters
axisThe axis to insert.
idxAn index from zero through countOfAxes()countOfAxescountOfAxes.
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.Adds a font axis.
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.Adds a font axis.
Removes a font axis.
Removes the font axis at an index.
Returns font axes derived from legacy master coordinate data.