Function

CTFontCopyVariationAxes(_:)

Returns an array of variation axes.

Declaration

func CTFontCopyVariationAxes(_ font: CTFont) -> CFArray?

Parameters

font

The font reference.

Return Value

An array of variation axes dictionaries. Each variation axis dictionary contains the five variation axis keys listed in Font Variation Axis Dictionary Keys.

See Also

Working With Font Variations

func CTFontCopyVariation(CTFont) -> CFDictionary?

Returns a variation dictionary from the font reference.