Global Variable

kCMTextMarkupAttribute_WritingDirectionSizePercentage

The dimension (width or height) of the bounding box containing the text expressed as a percentage.

Declaration

let kCMTextMarkupAttribute_WritingDirectionSizePercentage: CFString

Discussion

Value must be a non-negative CFNumber. This is a number expressing the width of the bounding box for text layout as a percentage of the video frame's dimension in the writing direction. For a horizontal writing direction, it is the width. For a vertical writing direction, it is the height.

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