public class AliyunLayoutParam
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AliyunLayoutParam.Builder |
Modifier and Type | Method and Description |
---|---|
static AliyunLayoutParam.Builder |
builder() |
float |
getCenterX()
获取中心点x坐标,归一化的值,左上角是原点
默认为 0.5,即居中布局
|
float |
getCenterY()
获取中心点y坐标,归一化的值,左上角是原点
默认为 0.5,即居中布局
|
VideoDisplayMode |
getDisplayMode()
Get layout display mode
|
float |
getHeightRatio()
获取高度,占整个输出窗口的比例
默认为 1.0,即全铺满
|
int |
getLayoutLevel()
Get layout level.
|
float |
getWidthRatio()
获取宽度,占整个输出窗口的比例
默认为 1.0,即全铺满
|
public float getCenterX()
public float getCenterY()
public float getWidthRatio()
public float getHeightRatio()
public int getLayoutLevel()
public VideoDisplayMode getDisplayMode()
VideoDisplayMode
public static AliyunLayoutParam.Builder builder()