withSize(_:)
Returns a new font descriptor based on the current object, but with the specified point size.
Declaration
func withSize(_ newPointSize: CGFloat) -> NSFontDescriptorParameters
- newPointSize:
The replacement point size.
Return Value
The new font descriptor.