Contents

traits

A dictionary that fully describes the font traits.

Declaration

static let traits: NSFontDescriptor.AttributeName

Discussion

The value of this attribute is an NSDictionary object. The default value is supplied by the font. See NSFontDescriptor.TraitKey for dictionary keys.

See Also

Font Attributes