|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object android.image.Image android.image.Scene android.image.EmptyScene
public class EmptyScene
Represents the empty (blank) Scene (a cropped Image
).
new EmptyScene(160, 90)
Field Summary |
---|
Fields inherited from class android.image.Image |
---|
BLACK_OUTLINE, CLEAR, WHITE |
Constructor Summary | |
---|---|
EmptyScene(double width,
double height)
Construct an EmptyScene of (Width x Height) |
|
EmptyScene(double width,
double height,
java.lang.String color)
Construct an EmptyScene of (Width x Height) with the given background color. |
|
EmptyScene(int width,
int height)
Construct an EmptyScene of (Width x Height) |
|
EmptyScene(int width,
int height,
java.lang.String color)
Construct an EmptyScene of (Width x Height) with the given background color. |
Method Summary | |
---|---|
int |
height()
Return the Width of this Scene/Image |
void |
paint(android.graphics.Canvas c,
int x,
int y)
Paint this Scene into the given graphics |
int |
width()
Return the Width of this Scene/Image |
Methods inherited from class android.image.Scene |
---|
addLine, addLine, addLine, placeImage, placeImage, placeImage, toFile |
Methods inherited from class android.image.Image |
---|
flipHorizontal, flipVertical, overlay, overlay, overlayxy, overlayxy, overlayxy, overlayxy, overlayxy, overlayxy, rasterize, rotate, rotate, toScene, toWhiteFile, toWhiteScene |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmptyScene(double width, double height)
public EmptyScene(double width, double height, java.lang.String color)
public EmptyScene(int width, int height)
public EmptyScene(int width, int height, java.lang.String color)
Method Detail |
---|
public void paint(android.graphics.Canvas c, int x, int y)
paint
in class Scene
public int width()
width
in class Image
public int height()
height
in class Image
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |