traits
A dictionary that fully describes the font traits.
Declaration
static let traits: NSFontDescriptor.AttributeNameDiscussion
The value of this attribute is an NSDictionary object. The default value is supplied by the font. See NSFontDescriptor.TraitKey for dictionary keys.