public static final class AliyunLayoutParam.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
AliyunLayoutParam |
build() |
AliyunLayoutParam.Builder |
centerX(float val)
Sets the x coordinate of the layout centroid relative to the origin.
|
AliyunLayoutParam.Builder |
centerY(float val)
Sets the y coordinate of the layout centroid relative to the origin.
|
AliyunLayoutParam.Builder |
displayMode(VideoDisplayMode val) |
AliyunLayoutParam.Builder |
heightRatio(float val)
Sets the heightRatio of the layout relative to the video output height.
|
AliyunLayoutParam.Builder |
layoutLevel(int val) |
AliyunLayoutParam.Builder |
widthRatio(float val)
Sets the widthRatio of the layout relative to the video output width.
|
public AliyunLayoutParam.Builder centerX(float val)
val
- [0,1]public AliyunLayoutParam.Builder centerY(float val)
val
- [0,1]public AliyunLayoutParam.Builder widthRatio(float val)
val
- (0,1]public AliyunLayoutParam.Builder heightRatio(float val)
val
- (0,1]public AliyunLayoutParam.Builder layoutLevel(int val)
public AliyunLayoutParam.Builder displayMode(VideoDisplayMode val)
public AliyunLayoutParam build()