A C F G I M P

A

area() - Method in interface geometri.GeometricalForm
Compute the area of this form rounded to closest integer.

C

compareTo(GeometricalForm) - Method in interface geometri.GeometricalForm
The method compareTo compares the area of the forms to decide if the given geometrical form is less or greater than this object.

F

fill(Graphics) - Method in interface geometri.GeometricalForm
Fill the forms area at the forms position with the forms color.

G

geometri - package geometri
 
GeometricalForm - Interface in geometri
This interface describes drawable geometrical forms.
getColor() - Method in interface geometri.GeometricalForm
Give the colour of this form.
getX() - Method in interface geometri.GeometricalForm
Give the x coordinate of this form.
getY() - Method in interface geometri.GeometricalForm
Give the y coordinate of this form.

I

IllegalPositionException - Exception in geometri
An Exception which is thrown when trying to set an illegal position.
IllegalPositionException() - Constructor for exception geometri.IllegalPositionException
Construct a new Exception without a detail message.
IllegalPositionException(String) - Constructor for exception geometri.IllegalPositionException
Construct a newException with a detail message.

M

move(int, int) - Method in interface geometri.GeometricalForm
Move the form the given distances.

P

perimeter() - Method in interface geometri.GeometricalForm
Compute the perimeter of this form rounded to closest integer.
place(int, int) - Method in interface geometri.GeometricalForm
Place the form on given coordinates.

A C F G I M P