AnnotationPosition


sealed class AnnotationPosition


Properties of a text annotation (i.e. ruby and emphasis marks).

Summary

Public companion functions

AnnotationPosition
fromInt(value: Int)

Public companion properties

AnnotationPosition

For horizontal text, the text annotation should be positioned below the base text.

AnnotationPosition

For horizontal text, the text annotation should be positioned above the base text.

AnnotationPosition

The text annotation position is unknown.

Protected constructors

Public properties

Int

Public companion functions

fromInt

Added in 1.0.0-alpha04
fun fromInt(value: Int): AnnotationPosition

Public companion properties

After

val AfterAnnotationPosition

For horizontal text, the text annotation should be positioned below the base text.

For vertical text, it should be positioned to the left, See the tts:rubyPosition attribute in TTML2 for more information.

Before

val BeforeAnnotationPosition

For horizontal text, the text annotation should be positioned above the base text.

For vertical text, it should be positioned to the right. See the tts:rubyPosition attribute in TTML2 for more information.

Unknown

val UnknownAnnotationPosition

The text annotation position is unknown.

Protected constructors

AnnotationPosition

protected AnnotationPosition(value: Int)

Public properties

value

Added in 1.0.0-alpha04
val valueInt