withMatrix(_:)
Returns a new font descriptor based on the current object, but with the specified font matrix.
Declaration
func withMatrix(_ matrix: AffineTransform) -> NSFontDescriptorParameters
- matrix:
The replacement font matrix.
Return Value
The new font descriptor.