org.nakedobjects.plugins.dnd.viewer.drawing
Class Shape

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.drawing.Shape

public class Shape
extends java.lang.Object


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

Constructor Detail

Shape

public Shape()

Shape

public Shape(int xOrigin,
             int yOrigin)

Shape

public Shape(Shape shape)
Method Detail

extendsLine

public void extendsLine(int width,
                        int height)

addVertex

public void addVertex(int x,
                      int y)

count

public int count()

getX

public int[] getX()

getY

public int[] getY()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

translate

public void translate(int x,
                      int y)


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.