@Deprecated
public class EffectPicture
extends java.lang.Object
EffectImage
代替Modifier and Type | Field and Description |
---|---|
long |
end
Deprecated.
图片的结束时间
|
float |
height
Deprecated.
图片的高,相对值 范围 [0 - 1]
|
boolean |
isTrack
Deprecated.
|
boolean |
mirror
Deprecated.
是否镜像
|
float |
rotation
Deprecated.
图片的旋转值,默认为0
取-PI 到 PI,左旋转 0 ~ -3.14 右旋转 0 ~ 3.14
|
long |
start
Deprecated.
图片的开始时间
|
float |
width
Deprecated.
图片的宽,相对值 范围 [0 - 1]
|
float |
x
Deprecated.
图片x坐标,相对值 范围 [0 - 1]
|
float |
y
Deprecated.
图片y坐标,相对值 范围 [0 - 1]
|
Constructor and Description |
---|
EffectPicture(Bitmap bitmap)
Deprecated.
|
EffectPicture(java.lang.String path)
Deprecated.
|
EffectPicture(java.lang.String mPicturePath,
float x,
float y,
long start,
long end,
float width,
float height,
float rotation,
boolean mirror,
boolean isTrack)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Deprecated.
|
Bitmap |
getBitmap()
Deprecated.
获取图片bitmap对象
|
int |
getOldId()
Deprecated.
获取恢复前的资源id,仅用于恢复后的资源
|
java.lang.String |
getPicturePath()
Deprecated.
获取图片路径
|
int |
getViewId()
Deprecated.
获取资源id
|
void |
setOldId(int oldId)
Deprecated.
设置旧资源id,不建议用户使用
|
void |
setViewId(int vid)
Deprecated.
设置资源id,不建议用户调用
|
java.lang.String |
toString()
Deprecated.
|
TrackEffect<EffectImage> |
toTrackEffectImage()
Deprecated.
转换成
TrackEffect 实体类 |
public float x
public float y
public long start
public long end
public float width
public float height
public float rotation
public boolean mirror
@Deprecated public boolean isTrack
public EffectPicture(java.lang.String path)
path
- 图片地址public EffectPicture(Bitmap bitmap)
bitmap
- 图片bitmap 对象public EffectPicture(java.lang.String mPicturePath, float x, float y, long start, long end, float width, float height, float rotation, boolean mirror, boolean isTrack)
public Bitmap getBitmap()
public java.lang.String getPicturePath()
public int getViewId()
public void setViewId(int vid)
vid
- 资源id 唯一标识符public int getOldId()
public void setOldId(int oldId)
oldId
- 旧资源idpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public TrackEffect<EffectImage> toTrackEffectImage()
TrackEffect
实体类
v3.27.0 新增
TrackEffect