Class L09Utility

java.lang.Object
  extended by L09Utility

public class L09Utility
extends java.lang.Object

Author:
mb

Constructor Summary
L09Utility()
           
 
Method Summary
static java.util.Set<java.awt.Shape> getShapeCollection(int canvasWidth, int canvasHeight)
          This method returns a set of six Shape objects.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

L09Utility

public L09Utility()
Method Detail

getShapeCollection

public static java.util.Set<java.awt.Shape> getShapeCollection(int canvasWidth,
                                                               int canvasHeight)
This method returns a set of six Shape objects. The (x,y) anchor points of the shapes are randomly assigned within the dimension passed to this method. The size of the Shape objects are proportional to the canvas dimensions: the widths and heigths are set at one-tenth of the canvas width and height.

Returns: