Contents

withMatrix(_:)

Returns a new font descriptor that’s the same as the existing font descriptor, but with the specified matrix.

Declaration

func withMatrix(_ matrix: CGAffineTransform) -> UIFontDescriptor

Parameters

  • matrix:

    The new font matrix.

Return Value

The new font descriptor.

See Also

Creating a font descriptor