VTT subtitle location attribute class.
More...
#include "AliVttSubtitleView.h"
|
| int | mAlignment |
| | 文本对齐方式,使用WEBVTT_ALIGN_*常量 Text alignment mode using WEBVTT_ALIGN_* constants
|
| |
| double | mAngle |
| | 旋转角度,单位为度 Rotation angle in degrees
|
| |
| int | marginL |
| | 左边距,单位为像素 Left margin in pixels
|
| |
| int | marginR |
| | 右边距,单位为像素 Right margin in pixels
|
| |
| int | marginV |
| | 垂直边距,单位为像素 Vertical margin in pixels
|
| |
| double | mScaleX |
| | 水平缩放比例,1.0为原始大小 Horizontal scale ratio, 1.0 is original size
|
| |
| double | mScaleY |
| | 垂直缩放比例,1.0为原始大小 Vertical scale ratio, 1.0 is original size
|
| |
| double | posX |
| | X坐标位置,单位为像素 X coordinate position in pixels.
|
| |
| double | posY |
| | Y坐标位置,单位为像素 Y coordinate position in pixels.
|
| |
VTT subtitle location attribute class.
Encapsulates position, alignment, margin, and transformation information of subtitles on screen. Supports position control features of the WebVTT standard.
◆ ALIGN_CENTER
Center alignment constant.
- Returns
- Alignment constant value
◆ ALIGN_END
Right alignment constant.
- Returns
- Alignment constant value
◆ ALIGN_START
Left alignment constant.
- Returns
- Alignment constant value
◆ mAlignment
文本对齐方式,使用WEBVTT_ALIGN_*常量 Text alignment mode using WEBVTT_ALIGN_* constants
◆ mAngle
旋转角度,单位为度 Rotation angle in degrees
◆ marginL
左边距,单位为像素 Left margin in pixels
◆ marginR
右边距,单位为像素 Right margin in pixels
◆ marginV
垂直边距,单位为像素 Vertical margin in pixels
◆ mScaleX
水平缩放比例,1.0为原始大小 Horizontal scale ratio, 1.0 is original size
◆ mScaleY
垂直缩放比例,1.0为原始大小 Vertical scale ratio, 1.0 is original size
◆ posX
X坐标位置,单位为像素 X coordinate position in pixels.
◆ posY
Y坐标位置,单位为像素 Y coordinate position in pixels.
The documentation for this class was generated from the following file: