|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object image.Image image.Scene image.EmptyScene
public class EmptyScene
Represents the empty (blank) Scene (a cropped Image
).
new EmptyScene(160, 90)
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) |
|
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) |
Method Summary | |
---|---|
int |
height()
Return the Width of this Scene/Image |
void |
paint(java.awt.Graphics g,
int x,
int y)
Paint this Scene into the given graphics |
int |
width()
Return the Width of this Scene/Image |
Methods inherited from class image.Scene |
---|
addLine, addLine, addLine, placeImage, placeImage, placeImage, toFile |
Methods inherited from class 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(java.awt.Graphics g, 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 |