kCTBaselineInfoAttributeName

Static kCTBaselineInfoAttributeName 

Source
pub unsafe static kCTBaselineInfoAttributeName: &'static CFString
Available on crate feature CTStringAttributes only.
Expand description

Key to reference a baseline info dictionary.

Value must be a CFDictionaryRef. Normally, baseline offsets will be assigned based on the ‘bsln’ or ‘BASE’ table in the font. This attribute may be used to assign different offsets. Each key in the dictionary is one of the kCTBaselineClass constants and the value is a CFNumberRef of the baseline offset in points. You only need to specify the offsets you wish to change.

See also: kCTBaselineClassRoman

See also: kCTBaselineClassIdeographicCentered

See also: kCTBaselineClassIdeographicLow

See also: kCTBaselineClassIdeographicHigh

See also: kCTBaselineClassHanging

See also: kCTBaselineClassMath

See also Apple’s documentation