Index

C D E F G M R S 
All Classes and Interfaces|All Packages

C

com.gigamonkeys.bhs.shapes - package com.gigamonkeys.bhs.shapes
 

D

draw() - Method in class com.gigamonkeys.bhs.shapes.Square
Draws the outline of the square using its current properties.

E

embiggen(double) - Method in class com.gigamonkeys.bhs.shapes.Square
Increases the size of the square by a percentage of its current size, keeping its top-left corner in the same position.
embiggenFromCenter(double) - Method in class com.gigamonkeys.bhs.shapes.Square
Increases the size of the square by a percentage of its current size, keeping its center in the same position.

F

fill() - Method in class com.gigamonkeys.bhs.shapes.Square
Fills the square using its current properties.

G

getColor() - Method in class com.gigamonkeys.bhs.shapes.Square
Returns the color of the square.
getRotation() - Method in class com.gigamonkeys.bhs.shapes.Square
Returns the rotation angle of the square in radians.
getSize() - Method in class com.gigamonkeys.bhs.shapes.Square
Returns the lenth of the side of the square.
getX() - Method in class com.gigamonkeys.bhs.shapes.Square
Returns the x-coordinate of the top-left corner of the square.
getY() - Method in class com.gigamonkeys.bhs.shapes.Square
Returns the y-coordinate of the top-left corner of the square.

M

move(int, int) - Method in class com.gigamonkeys.bhs.shapes.Square
Moves the square by the specified deltas along the x and y axes.
moveTo(int, int) - Method in class com.gigamonkeys.bhs.shapes.Square
Sets the position of the square to the specified coordinates.

R

rotate(double) - Method in class com.gigamonkeys.bhs.shapes.Square
Rotates the square by the specified radians around its center.

S

setColor(Color) - Method in class com.gigamonkeys.bhs.shapes.Square
Sets the color of the square to the specified value.
shrink(double) - Method in class com.gigamonkeys.bhs.shapes.Square
Shrinks the size of the square by a percentage of its current size, keeping its top-left corner in the same position.
shrinkToCenter(double) - Method in class com.gigamonkeys.bhs.shapes.Square
Shrinks the size of the square by a percentage of its current size, keeping its center in the same position.
Square - Class in com.gigamonkeys.bhs.shapes
Simple square shape to be drawn on an image via a java.awt.Graphics object.
Square(Graphics, int, int, int) - Constructor for class com.gigamonkeys.bhs.shapes.Square
Constructs a new Square with the specified graphics context, position, size, and a default color of black.
Square(Graphics, int, int, int, Color) - Constructor for class com.gigamonkeys.bhs.shapes.Square
Constructs a new Square with the specified graphics context, position, size, and color.
C D E F G M R S 
All Classes and Interfaces|All Packages