pub unsafe static kCTFontWeightTrait: &'static CFStringAvailable on crate feature
CTFontTraits only.Expand description
kCTFontWeightTrait
Dictionary key to access the weight trait value.
Use this key to access the normalized weight trait from the font traits dictionary. The value returned is a CFNumberRef 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 Appleās documentation