Global Variable

kCMTextMarkupAttribute_ForegroundColorARGB

The foreground color for text.

Declaration

let kCMTextMarkupAttribute_ForegroundColorARGB: 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.