@Deprecated
public class EffectPicture
extends java.lang.Object
EffectImage
insteadModifier and Type | Field and Description |
---|---|
long |
end
Deprecated.
The time when this image disappears.
|
float |
height
Deprecated.
The height of this image relative to the screen resolution.
|
boolean |
isTrack
Deprecated.
|
boolean |
mirror
Deprecated.
Whether this image is flipped.
|
float |
rotation
Deprecated.
The rotation angle of this image.
|
long |
start
Deprecated.
The time when this image appears.
|
float |
width
Deprecated.
The width of this image relative to the screen resolution.
|
float |
x
Deprecated.
The x coordinate of the centroid of this image relative to the screen resolution.
|
float |
y
Deprecated.
The y coordinate of the centroid of this image relative to the screen resolution.
|
Constructor and Description |
---|
EffectPicture(Bitmap bitmap)
Deprecated.
Creates an EffectPicture object with a bitmap image.
|
EffectPicture(java.lang.String path)
Deprecated.
Creates an EffectPicture object with an image path.
|
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.
Gets the bitmap of this image.
|
int |
getOldId()
Deprecated.
Gets the original id of a resource.
|
java.lang.String |
getPicturePath()
Deprecated.
Gets the path of this image.
|
int |
getViewId()
Deprecated.
Gets the id of a resource.
|
void |
setOldId(int oldId)
Deprecated.
Sets the original id of a resource.
|
void |
setViewId(int vid)
Deprecated.
Sets the id of a resource.
|
java.lang.String |
toString()
Deprecated.
|
TrackEffect<EffectImage> |
toTrackEffectImage()
Deprecated.
Transform to
TrackEffect bean |
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
- The image path.public EffectPicture(Bitmap bitmap)
bitmap
- The bitmap image.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
- The resource id.public int getOldId()
public void setOldId(int oldId)
oldId
- The original resource id.public 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
bean
Added in v3.27.0
TrackEffect