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