image
Class Square

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

public class Square
extends Rectangle

Represents an Image of a Square.

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

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


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 image.Rectangle
height, paint, width
 
Methods inherited from class 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