public class TrackEffectWaterMark extends EffectBase
v3.27.0新增 轨道编辑的水印实体类
Modifier and Type | Class and Description |
---|---|
static class |
TrackEffectWaterMark.Builder |
Modifier and Type | Field and Description |
---|---|
protected EffectRect |
mEffectRect |
mSource, resId, viewId
Constructor and Description |
---|
TrackEffectWaterMark() |
Modifier and Type | Method and Description |
---|---|
float |
getHeightRatio()
获取高的比例值
|
float |
getWidthRatio()
获取宽的比例值
|
float |
getXRadio()
获取x坐标的比例值
|
float |
getYRadio()
获取y坐标的比例值
|
void |
setHeightRatio(float heightRatio)
设置高的比例值
|
void |
setWidthRatio(float widthRatio)
设置宽的比例值
|
void |
setXRadio(float xRatio)
设置x坐标的比例值
|
void |
setYRatio(float yRatio)
设置y坐标的比例值
|
checkIsInvalid, copy, getPath, getResId, getSource, getViewId, readString, setPath, setResId, setSource, setViewId, toString
public float getXRadio()
public void setXRadio(float xRatio)
xRatio
- 比例值 [0 - 1]public float getYRadio()
public void setYRatio(float yRatio)
yRatio
- 比例值 [0 - 1]public float getWidthRatio()
public void setWidthRatio(float widthRatio)
widthRatio
- 宽比例 [0 - 1]public float getHeightRatio()
public void setHeightRatio(float heightRatio)
heightRatio
- 高比例 [0 - 1]