Instance Method
internalAxisRanges(for:associatedMasterID:)
The internal coordinate ranges of selected axes.
Not available in Objective-C.Not available in Python.
Declaration
func internalAxisRanges(for axes: [GSAxis], associatedMasterID: String? = nil) -> [GSAxis : ClosedRange<CGFloat>]Parameters
axesThe axes whose ranges to compute.
associatedMasterIDThe associated master identifier used to restrict glyph-local-axis layer values, or
nilto include layers associated with every master.
Discussion
The result omits axes without a qualifying coordinate value. Master layers and Intermediate layers contribute coordinate values. The default value of a glyph-local axis also contributes to its range. When associatedMasterID is provided, a glyph-local axis uses only layer values associated with that master. This does not restrict font-axis values or the default value of a glyph-local axis.
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.
Replaces 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 the font axes and glyph-local axes.