Type Alias

NSFontDescriptorTraitKey

The following constants can be used as keys to retrieve information about a font descriptor from its trait dictionary.

Declaration

typedef NSString *NSFontDescriptorTraitKey;

Discussion

These keys are used with NSFontTraitsAttribute.

Topics

Trait Keys

NSFontSymbolicTrait

The symbolic traits value as an NSNumber object.

NSFontWeightTrait

The normalized weight value as an NSNumber object.

NSFontWidthTrait

The relative inter-glyph spacing value as an NSNumber object.

NSFontSlantTrait

The relative slant angle value as an NSNumber object.