Contents

matrix

The font’s transformation matrix attribute.

Declaration

static let matrix: UIFontDescriptor.AttributeName

Discussion

The value is a CGAffineTransform instance that specifies the font’s transformation matrix. The default value is the identity matrix.

Because the system applies the matrix to the text matrix at rendering time, translation isn’t available. The rendering engine determines the translation independently.

See Also

Constants