Class: NvsLiveWindow

NvsLiveWindow()

视频预览窗口

Constructor

new NvsLiveWindow()

Source:

Methods

getFillMode() → {Number}

获取填充模式
Source:
Returns:
填充模式
Type
Number

mapCanonicalToView(ptCanonical) → {NvsPointF}

时间线坐标转换成视图坐标
Parameters:
Name Type Description
ptCanonical NvsPointF 时间线坐标
Source:
Returns:
视图坐标
Type
NvsPointF

mapNormalizedToView(ptNormalized) → {NvsPointF}

归一化坐标转换成视图坐标
Parameters:
Name Type Description
ptNormalized NvsPointF 归一化坐标
Source:
Returns:
视图坐标
Type
NvsPointF

mapViewToCanonical(ptView) → {NvsPointF}

视图坐标转换成时间线坐标
Parameters:
Name Type Description
ptView NvsPointF 视图坐标
Source:
Returns:
时间线坐标
Type
NvsPointF

mapViewToNormalized(视图坐标) → {NvsPointF}

视图坐标转换成归一化坐标
Parameters:
Name Type Description
视图坐标 NvsPointF
Source:
Returns:
归一化坐标
Type
NvsPointF

setBackgroundColor(color) → {Void}

设置背景颜色
Parameters:
Name Type Description
color NvsColor 背景颜色
Source:
Returns:
无返回值
Type
Void

setFillMode(fillMode) → {Void}

设置填充模式
Parameters:
Name Type Description
fillMode Number 填充模式
Source:
Returns:
Type
Void