Instance Property


Returns an array of the variation axis dictionaries for a font.


var variationAxes: CFArray? { get }



A CGFont object.

Return Value

An array of the variation axis dictionaries. Returns NULL if the font doesn't support variations.


A variation axis is a range included in a font by the font designer that allows a font to produce different type styles. Each variation axis dictionary contains key-value pairs that specify the variation axis name and the minimum, maximum, and default values for that variation axis.

See Also

Working with Variations

func copy(withVariations: CFDictionary?) -> CGFont?

Creates a copy of a font using a variation specification dictionary.

var variations: CFDictionary?

Returns the variation specification dictionary for a font.

Font Variation Axis Keys

Keys used for a font variation axis dictionary.