public class EffectPicture
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
long |
end
The time when this image disappears.
|
float |
height
The height of this image relative to the screen resolution.
|
boolean |
isTrack
已过时。
|
boolean |
mirror
Whether this image is flipped.
|
float |
rotation
The rotation angle of this image.
|
long |
start
The time when this image appears.
|
float |
width
The width of this image relative to the screen resolution.
|
float |
x
The x coordinate of the centroid of this image relative to the screen resolution.
|
float |
y
The y coordinate of the centroid of this image relative to the screen resolution.
|
构造器和说明 |
---|
EffectPicture(android.graphics.Bitmap bitmap)
Creates an EffectPicture object with a bitmap image.
|
EffectPicture(java.lang.String path)
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) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(java.lang.Object obj) |
android.graphics.Bitmap |
getBitmap()
Gets the bitmap of this image.
|
int |
getOldId()
Gets the original id of a resource.
|
java.lang.String |
getPicturePath()
Gets the path of this image.
|
int |
getViewId()
Gets the id of a resource.
|
void |
setOldId(int oldId)
Sets the original id of a resource.
|
void |
setViewId(int vid)
Sets the id of a resource.
|
java.lang.String |
toString() |
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(android.graphics.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 android.graphics.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
在类中 java.lang.Object
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object