Declaration

func insertAxis(_ axis: GSAxis, at idx: UInt)

Declaration

- (void) insertObject:(GSAxis *) axis inAxesAtIndex:(NSUInteger) idx;

Declaration

insertObject_inAxesAtIndex_(axis: GSAxis, idx: int)

Parameters

axis

The axis to insert.

idx

An 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 nil when the index is out of range.

  • The index of a font axis, or nil when the axis is not in the font.

  • The canonical font axes.

  • Returns the font axis with an identifier, or nil when no axis matches.

  • Returns the font axis with a name, or nil when no axis matches.

  • Returns the font axis with an OpenType variation tag, or nil when 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