android.image
Class EmptyScene

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

public class EmptyScene
extends Scene

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

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) with the given background color.


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) with the given background color.

Method Detail

paint

public void paint(android.graphics.Canvas c,
                  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