net.refractions.udig.tools.edit.behaviour
Class ShapeCreationBehaviour.ShapeFactory

java.lang.Object
  extended by net.refractions.udig.tools.edit.behaviour.ShapeCreationBehaviour.ShapeFactory
Enclosing class:
ShapeCreationBehaviour

public abstract static class ShapeCreationBehaviour.ShapeFactory
extends java.lang.Object

creates a shape upon request.

Since:
1.1.0
Author:
jones

Constructor Summary
ShapeCreationBehaviour.ShapeFactory()
           
 
Method Summary
abstract  java.awt.geom.GeneralPath create(int width, int height)
          Creates a GeneralPath with the top left corner at 0,0 and a total width and height as indicated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapeCreationBehaviour.ShapeFactory

public ShapeCreationBehaviour.ShapeFactory()
Method Detail

create

public abstract java.awt.geom.GeneralPath create(int width,
                                                 int height)
Creates a GeneralPath with the top left corner at 0,0 and a total width and height as indicated

Parameters:
width - width of path created
height - height of path created
Returns:
a GeneralPath with the top left corner at 0,0 and a total width and height as indicated