withSymbolicTraits(_:)
Returns a new font descriptor based on the current object, but with the specified symbolic traits taking precedence over the existing ones.
Declaration
func withSymbolicTraits(_ symbolicTraits: NSFontDescriptor.SymbolicTraits) -> NSFontDescriptorParameters
- symbolicTraits:
The replacement symbolic traits.
Return Value
The new font descriptor.