Instance Property
axes
The font axes defining the font design space.
Declaration
var axes: [GSAxis] { get set }Declaration
@property (nonatomic, strong) NSArray<GSAxis *> * axes;Declaration
pyobjc_instanceMethods.axes() -> list[GSAxis]
pyobjc_instanceMethods.setAxes_(axes: list[GSAxis])Discussion
Font axes are shared by masters, instances, layers, and glyphs. Each axis in this collection belongs to the font. Use this property or the axis mutation methods instead of modifying the returned array directly.
See Also
Axes
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.
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 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.
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.