public static final class AliyunMixTrackLayoutParam.Builder
extends java.lang.Object
AliyunMixTrackLayoutParam builder static inner class.| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
AliyunMixTrackLayoutParam |
build()
Returns a
AliyunMixTrackLayoutParam built from the parameters previously set. |
AliyunMixTrackLayoutParam.Builder |
centerX(float val)
Sets the
mCenterX and returns a reference to this Builder so that the methods can be chained together. |
AliyunMixTrackLayoutParam.Builder |
centerY(float val)
Sets the
mCenterY and returns a reference to this Builder so that the methods can be chained together. |
AliyunMixTrackLayoutParam.Builder |
heightRatio(float val)
Sets the
mHeightRatio and returns a reference to this Builder so that the methods can be chained together. |
AliyunMixTrackLayoutParam.Builder |
widthRatio(float val)
Sets the
mWidthRatio and returns a reference to this Builder so that the methods can be chained together. |
public AliyunMixTrackLayoutParam.Builder centerX(float val)
mCenterX and returns a reference to this Builder so that the methods can be chained together.
轨道窗口的中心点X坐标val - the mCenterX to set 归一化的坐标值[0,1],越界则被修改为临界值public AliyunMixTrackLayoutParam.Builder centerY(float val)
mCenterY and returns a reference to this Builder so that the methods can be chained together.
轨道窗口的中心点Y坐标val - the mCenterY to set 归一化的值[0,1],越界则被修改为临界值public AliyunMixTrackLayoutParam.Builder widthRatio(float val)
mWidthRatio and returns a reference to this Builder so that the methods can be chained together.
轨道窗口的宽占视频输出宽度的比例val - the mWidthRatio to set (0, 1],大于1则,被修改为1,小于0则不生效。public AliyunMixTrackLayoutParam.Builder heightRatio(float val)
mHeightRatio and returns a reference to this Builder so that the methods can be chained together.
轨道窗口高占视频输出高度的比例val - the mHeightRatio to set (0, 1],大于1则,被修改为1,小于0则不生效。public AliyunMixTrackLayoutParam build()
AliyunMixTrackLayoutParam built from the parameters previously set.AliyunMixTrackLayoutParam built with parameters of this AliyunMixTrackLayoutParam.Builder