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.