Subtitle rendering context.
More...
#include "AliVttSubtitleView.h"
|
| CGFloat | contentsScale |
| | 内容缩放比例(像素到点的转换比例) Content scale ratio (pixel to point conversion ratio)
|
| |
| CGFloat | maxTextWidth |
| | 字幕文本的最大允许宽度 Maximum allowed width of subtitle text
|
| |
| CGSize | parentSize |
| | 父视图的尺寸(容器大小) Parent view size (container size)
|
| |
| CGSize | textDisplaySize |
| | 字幕文本的显示尺寸 Display size of subtitle text
|
| |
| CGFloat | textX |
| | 字幕文本的X坐标位置 X coordinate position of subtitle text
|
| |
| CGFloat | textY |
| | 字幕文本的Y坐标位置 Y coordinate position of subtitle text
|
| |
| CGSize | videoDisplaySize |
| | 视频内容的显示尺寸 Display size of video content
|
| |
| CGFloat | videoOffsetX |
| | 视频显示区域相对于父视图的X偏移 X offset of video display area relative to parent view
|
| |
| CGFloat | videoOffsetY |
| | 视频显示区域相对于父视图的Y偏移 Y offset of video display area relative to parent view
|
| |
Subtitle rendering context.
Encapsulates various size and position information needed during subtitle rendering, used to pass calculation results in the rendering pipeline.
◆ contentsScale
| - (CGFloat) contentsScale |
|
readwritenonatomicassign |
内容缩放比例(像素到点的转换比例) Content scale ratio (pixel to point conversion ratio)
◆ maxTextWidth
字幕文本的最大允许宽度 Maximum allowed width of subtitle text
◆ parentSize
父视图的尺寸(容器大小) Parent view size (container size)
◆ textDisplaySize
| - (CGSize) textDisplaySize |
|
readwritenonatomicassign |
字幕文本的显示尺寸 Display size of subtitle text
◆ textX
字幕文本的X坐标位置 X coordinate position of subtitle text
◆ textY
字幕文本的Y坐标位置 Y coordinate position of subtitle text
◆ videoDisplaySize
| - (CGSize) videoDisplaySize |
|
readwritenonatomicassign |
视频内容的显示尺寸 Display size of video content
◆ videoOffsetX
视频显示区域相对于父视图的X偏移 X offset of video display area relative to parent view
◆ videoOffsetY
视频显示区域相对于父视图的Y偏移 Y offset of video display area relative to parent view
The documentation for this class was generated from the following file: