withFace(_:)
Returns a new font descriptor based on the current object, but with the specified face.
Declaration
func withFace(_ newFace: String) -> NSFontDescriptorParameters
- newFace:
The replacement font face.
Return Value
The new font descriptor.