CMTextFormatDescription Constants

These keys and values are used by text-based format descriptions.

Topics

Constants

let kCMTextFormatDescriptionExtension_DisplayFlags: CFString

The value is a CFNumber (an SInt32 holding CMTextDisplayFlags).

let kCMTextFormatDescriptionColor_Red: CFString

The value is a CFNumber (SInt8 for 3G), (SInt16 for QT).

let kCMTextFormatDescriptionColor_Green: CFString

The value is a CFNumber (SInt8 for 3G), (SInt16 for QT).

let kCMTextFormatDescriptionColor_Blue: CFString

The value is a CFNumber (SInt8 for 3G), (SInt16 for QT).

let kCMTextFormatDescriptionColor_Alpha: CFString

The value is a CFNumber (SInt8 for 3G), not applicable for QT text.

let kCMTextFormatDescriptionRect_Top: CFString

The value is a CFNumber (SInt16).

let kCMTextFormatDescriptionRect_Left: CFString

The value is a CFNumber (SInt16).

let kCMTextFormatDescriptionRect_Bottom: CFString

The value is a CFNumber (SInt16).

let kCMTextFormatDescriptionRect_Right: CFString

The value is a CFNumber (SInt16).

let kCMTextFormatDescriptionStyle_StartChar: CFString

The value is a CFNumber (SInt16 for 3G), (SInt32 for QT).

let kCMTextFormatDescriptionStyle_Font: CFString

The value is a CFNumber (SInt16).

let kCMTextFormatDescriptionExtension_HorizontalJustification: CFString

The value is a CFNumber (SInt8) containing a CMTextJustificationValue.

let kCMTextFormatDescriptionExtension_VerticalJustification: CFString

The value is a CFNumber (SInt8) containing a CMTextJustificationValue.

let kCMTextFormatDescriptionExtension_TextJustification: CFString

The value is a CFNumber (SInt8) containing a CMTextJustificationValue.