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) -> UIFontDescriptorParameters
- newPointSize:
The new point size.
Return Value
The new font descriptor.