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.