init(name:matrix:)
Returns a font descriptor with the name and matrix attributes set to the given values.
Declaration
init(name fontName: String, matrix: AffineTransform)Parameters
- fontName:
The value for
NSFontNameAttribute. - matrix:
The value for
NSFontMatrixAttribute.
Return Value
The new font descriptor.