public class EffectImage extends EffectBase
Modifier and Type | Field and Description |
---|---|
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.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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
public EffectImage(android.graphics.Bitmap bitmap)
bitmap
- The bitmap image.public EffectImage(java.lang.String path)
path
- The image path.