Instance Property

matrix

The transformation matrix associated with the font.

Declaration

var matrix: UnsafePointer<CGFloat> { get }

Discussion

This property contains a standard six-element transformation matrix as used in the PostScript language, specifically with the makefont operator. In most cases, with a font of fontSize, this matrix is [fontSize 0 0 fontSize 0 0].

See Also

Getting the Font Matrices

var textTransform: AffineTransform

The current transformation matrix of the font.

class var identityMatrix: UnsafePointer<CGFloat>

The identify matrix for the font.