Contents

kCTFontWeightTrait

The normalized weight trait from the font traits dictionary.

Declaration

let kCTFontWeightTrait: CFString

Discussion

The value returned is a CFNumber representing a float value between -1.0 and 1.0 for normalized weight. The value of 0.0 corresponds to the regular or medium font weight.

See Also

Font Trait Keys