org.nakedobjects.viewer.lightweight
Class Shape

java.lang.Object
  extended byorg.nakedobjects.viewer.lightweight.Shape

public class Shape
extends java.lang.Object


Constructor Summary
Shape()
           
Shape(int xOrigin, int yOrigin)
           
Shape(Shape shape)
           
 
Method Summary
 void addLine(int width, int height)
           
 void addVertex(int x, int y)
           
 int count()
           
 int[] getX()
           
 int[] getY()
           
 void translate(int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shape

public Shape()

Shape

public Shape(Shape shape)

Shape

public Shape(int xOrigin,
             int yOrigin)
Method Detail

getX

public int[] getX()

getY

public int[] getY()

addLine

public void addLine(int width,
                    int height)

addVertex

public void addVertex(int x,
                      int y)

count

public int count()

translate

public void translate(int x,
                      int y)