TTMLData
TTMLData data structure.
Public Attributes
bitmap
The cue image if this is an image cue, an empty image otherwise.
public TTMLImage bitmap;
Type | Description |
---|---|
TTMLImage | TTMLData data structure. |
bitmapHeight
The cue bitmap height as a fraction of the viewport size.
public float bitmapHeight;
endTimeMs
Track cue end time in milliseconds.
public long endTimeMs;
line
The cue position within the viewport in the direction orthogonal to the writing direction.
public float line;
lineAnchor
The cue box anchor in the direction of line.
public TTMLAnchorType lineAnchor;
lineType
The cue line type.
public TTMLLineType lineType;
position
The cue position within the viewport in the direction orthogonal to line.
public float position;
positionAnchor
The cue box anchor in the direction of position.
public TTMLAnchorType positionAnchor;
size
The cue box size in the writing direction, as a fraction of the viewport size.
public float size;
startTimeMs
Track cue start time in milliseconds.
public long startTimeMs;
text
The cue text encoded as UTF-8. Or null if this is an image cue.
public string text;
textAlignment
The alignment of the cue text within the cue box.
public TTMLLayoutAlignment textAlignment;
textSize
The cue default text size, or MLTTMLDimen_Unset if this cue has no default.
public float textSize;
textSizeType
The cue default text size type, or MLTTMLTextSizeType_Unset if this cue has no default text size.
public TTMLTextSizeType textSizeType;
windowColor
The cue window fill color in ARGB format.
public uint windowColor;
windowColorSet
Whether the cue box has a window color.
public bool windowColorSet;