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.

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