image
Class EmptyScene

java.lang.Object
  extended by image.Image
      extended by image.Scene
          extended by image.EmptyScene

public class EmptyScene
extends Scene

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

EmptyScene

public EmptyScene(double width,
                  double height)
Construct an EmptyScene of (Width x Height)


EmptyScene

public EmptyScene(double width,
                  double height,
                  java.lang.String color)
Construct an EmptyScene of (Width x Height)


EmptyScene

public EmptyScene(int width,
                  int height)
Construct an EmptyScene of (Width x Height)


EmptyScene

public EmptyScene(int width,
                  int height,
                  java.lang.String color)
Construct an EmptyScene of (Width x Height)

Method Detail

paint

public void paint(java.awt.Graphics g,
                  int x,
                  int y)
Paint this Scene into the given graphics

Specified by:
paint in class Scene

width

public int width()
Return the Width of this Scene/Image

Specified by:
width in class Image

height

public int height()
Return the Width of this Scene/Image

Specified by:
height in class Image