Global Variable

kCMTextMarkupAttribute_CharacterBackgroundColorARGB

The background color behind individual text characters.

Declaration

let kCMTextMarkupAttribute_CharacterBackgroundColorARGB: CFString

Discussion

Value must be a CFArray of 4 CFNumbers representing alpha, red, green, and blue fields with values between 0.0 and 1.0. The red, green and blue components are interpreted in the sRGB color space. The alpha indicates the opacity from 0.0 for transparent to 1.0 for 100% opaque.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software