image
Class Square
java.lang.Object
image.Image
image.Rectangle
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 |
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 |
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