withSize(_:)
Returns a font object that is the same as the font, but has the specified size.
Declaration
func withSize(_ fontSize: CGFloat) -> UIFontParameters
- fontSize:
The desired size (in points) of the new font object. This value must be greater than 0.0.
Return Value
A font object of the specified size.