kCTRunDelegateAttributeName

Static kCTRunDelegateAttributeName 

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

Allows customization of certain aspects of a range of text’s appearance.

Value must be a CTRunDelegateRef. The values returned by the embedded object for an attribute range apply to each glyph resulting from the text in that range. Because an embedded object is only a display-time modification, care should be taken to avoid applying this attribute to a range of text with complex behavior, such as a change of writing direction, combining marks, etc. Consequently, it is recommended that this attribute be applied to a range containing the single character U+FFFC. See CTRunDelegate.h for more information.

See also Apple’s documentation