A CGAffine
instance that specifies the font’s transformation matrix. The default value is the identity matrix.
SDKs
- iOS 7.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- UIKit
Declaration
static let matrix: UIFont Descriptor.Attribute Name
Discussion
Because the matrix is applied to the text matrix at rendering time, translation is not supported—the rendering engine determines the translation independently.