Contents

withMatrix(_:)

Returns a new font descriptor based on the current object, but with the specified font matrix.

Declaration

func withMatrix(_ matrix: AffineTransform) -> NSFontDescriptor

Parameters

  • matrix:

    The replacement font matrix.

Return Value

The new font descriptor.

See Also

Modifying an Existing Font Descriptor