Font Variation Axis Keys

Keys used for a font variation axis dictionary.

Topics

Constants

kCGFontVariationAxisName

The key used to obtain the variation axis name from a variation axis dictionary. The value obtained with this key is a CFStringRef that specifies the name of the variation axis.

kCGFontVariationAxisMinValue

The key used to obtain the minimum variation axis value from a variation axis dictionary. The value obtained with this key is a CFNumberRef that specifies the minimum value of the variation axis.

kCGFontVariationAxisMaxValue

The key used to obtain the maximum variation axis value from a variation axis dictionary. The value obtained with this key is a CFNumberRef that specifies the maximum value of the variation axis.

kCGFontVariationAxisDefaultValue

The key used to obtain the default variation axis value from a variation axis dictionary. The value obtained with this key is a CFNumberRef that specifies the default value of the variation axis.

See Also

Working with Variations

CGFontCreateCopyWithVariations

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

CGFontCopyVariations

Returns the variation specification dictionary for a font.

CGFontCopyVariationAxes

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