i3mclient.shapeboard
Class RectangleShape
java.lang.Object
|
+--i3mclient.shapeboard.Shape
|
+--i3mclient.shapeboard.RectangleShape
- All Implemented Interfaces:
- Serializable
- public class RectangleShape
- extends Shape
A rectangle for ShapeBoard.
- Author:
- Henning Schaefer
- See Also:
- Serialized Form
Methods inherited from class i3mclient.shapeboard.Shape |
getBoundingBox, getColor, getX, getX2, getXOR, getY, getY2, setColor, setX, setX2, setXOR, setY, setY2 |
RectangleShape
public RectangleShape()
drawShape
public void drawShape(GC gc)
- Draw the shape.
- Specified by:
drawShape
in class Shape
- Parameters:
gc
- The GC to draw on