Contents

withSize(_:)

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

Declaration

func withSize(_ newPointSize: CGFloat) -> UIFontDescriptor

Parameters

  • newPointSize:

    The new point size.

Return Value

The new font descriptor.

See Also

Creating a font descriptor