public class EffectImage extends EffectBase
限定符和类型 | 字段和说明 |
---|---|
float |
height
The height of this image relative to the screen resolution.
|
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.
|
构造器和说明 |
---|
EffectImage(android.graphics.Bitmap bitmap)
Creates an EffectImage object with a bitmap image.
|
EffectImage(java.lang.String path)
Creates an EffectImage object with an image path.
|
限定符和类型 | 方法和说明 |
---|---|
android.graphics.Bitmap |
getBitmap()
Gets the bitmap object of this image.
|
copy, getAnimationType, getPath, getResId, getViewId, readString, setAnimationType, setPath, setResId, setViewId, toString
public float x
public float y
public float width
public float height