Global Variable

kCMTextMarkupAttribute_Alignment

The alignment of text in the writing direction of the first line of text.

Declaration

let kCMTextMarkupAttribute_Alignment: CFString

Discussion

Value must be one of the CFString constants in Alignment Type Constants indicating the alignment in the writing direction of the first line of text of the cue. The writing direction is indicated by the value (or absence) of the kCMTextMarkupAttribute_VerticalLayout attribute. The default value of this attribute is kCMTextMarkupAlignmentType_Middle.

If used, this attribute must be applied to the entire attributed string.