Global Variable

kCMTextMarkupAttribute_OrthogonalLinePositionPercentageRelativeToWritingDirection

The placement of the block of text's first line specified as a percentage in the direction orthogonal to the writing direction.

Declaration

let kCMTextMarkupAttribute_OrthogonalLinePositionPercentageRelativeToWritingDirection: CFString

Discussion

Value must be a non-negative CFNumber. This is a number expressing the position of the center of the cue relative to the writing direction. The line position is orthogonal (or perpendicular) to the writing direction (that is, for a horizontal writing direction, it is vertical and for a vertical writing direction, is is horizontal). This attribute expresses the line position as a percentage of the dimensions of the video frame in the relevant direction. For example, 0% is the top of the video frame and 100% is the bottom of the video frame for horizontal writing layout.

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