org.nakedobjects.plugins.dnd.viewer.drawing
Class Shape
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.drawing.Shape
public class Shape
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Shape
public Shape()
Shape
public Shape(int xOrigin,
int yOrigin)
Shape
public Shape(Shape shape)
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.