android.image
Class Square

java.lang.Object
  extended by android.image.Image
      extended by android.image.Rectangle
          extended by android.image.Square

public class Square
extends Rectangle

Represents an Image of a Square.

    new Square(40, "solid", "slateblue")

    new Square(50, "outline", "darkmagenta")


Field Summary
 
Fields inherited from class android.image.Image
BLACK_OUTLINE, CLEAR, WHITE
 
Constructor Summary
Square(double size, java.lang.String mode, java.lang.String color)
          Create a Square Image with (double) size, mode and color
Square(int size, java.lang.String mode, java.lang.String color)
          Create a Square Image with (int) size, mode and color
 
Method Summary
 
Methods inherited from class android.image.Rectangle
height, paint, width
 
Methods inherited from class android.image.Image
flipHorizontal, flipVertical, overlay, overlay, overlayxy, overlayxy, overlayxy, overlayxy, overlayxy, overlayxy, rasterize, rotate, rotate, toFile, toScene, toWhiteFile, toWhiteScene
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Square

public Square(double size,
              java.lang.String mode,
              java.lang.String color)
Create a Square Image with (double) size, mode and color


Square

public Square(int size,
              java.lang.String mode,
              java.lang.String color)
Create a Square Image with (int) size, mode and color