Instance Method
replaceAxis(at:with:) replaceObjectInAxesAtIndex:withObject: replaceObjectInAxesAtIndex_withObject_
Replaces the glyph-local axis at an index.
Declaration
func replaceAxis(at idx: UInt, with axis: GSAxis)Declaration
- (void) replaceObjectInAxesAtIndex:(NSUInteger) idx withObject:(GSAxis *) axis;Declaration
replaceObjectInAxesAtIndex_withObject_(idx: int, axis: GSAxis)Parameters
idxA valid index in axes.
axisThe replacement axis.
Discussion
The replacement axis becomes owned by the glyph, and the replaced axis no longer belongs to the glyph.
See Also
Glyph Axes
The glyph-local axes used by Smart Components.
The number of glyph-local axes.
The glyph-local axis at an index, or
nilwhen the index is out of range.Inserts a glyph-local axis at an index.
Removes the glyph-local axis at an index.
The axes defining a complete design-space location for the glyph.
The total number of font axes and glyph-local axes.
The internal coordinate ranges of selected axes.
The internal coordinate ranges of the font axes and glyph-local axes.
See Also
Glyph Axes
The glyph-local axes used by Smart Components.
The number of glyph-local axes.
The glyph-local axis at an index, or
nilwhen the index is out of range.Inserts a glyph-local axis at an index.
Removes the glyph-local axis at an index.
The axes defining a complete design-space location for the glyph.
The total number of font axes and glyph-local axes.
Computes the internal coordinate range of each selected axis.