pub unsafe static kCTFontSlantTrait: &'static CFStringAvailable on crate feature
CTFontTraits only.Expand description
kCTFontSlantTrait
Dictionary key to access the slant trait value.
Use this key to access the normalized slant angle from the font traits dictionary. The value returned is a CFNumberRef representing a float value between -1.0 and 1.0 for normalized slant angle. The value or 0.0 corresponds to 0 degree clockwise rotation from the vertical and 1.0 corresponds to 30 degrees clockwise rotation.
See also Appleās documentation