diva.canvas.tutorial
Class VectorFigureTutorial
java.lang.Object
diva.canvas.tutorial.VectorFigureTutorial
public class VectorFigureTutorial
- extends java.lang.Object
An example showing how to use VectorFigure.
The VectorFigure class provides a simple way to make figures that
are fairly complex graphically. It has no inherent shape, but draws
a series of shapes that are added one at a time to it.
- Version:
- $Id: VectorFigureTutorial.java 38798 2005-07-08 20:00:01Z cxh $
- Author:
- John Reekie
Method Summary |
void |
createFigures()
Create instances of Vector Figures and make them
draggable and resizeable. |
static void |
main(java.lang.String[] argv)
Main function |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
canvas
private JCanvas canvas
graphicsPane
private GraphicsPane graphicsPane
VectorFigureTutorial
public VectorFigureTutorial()
- Create a JCanvas and put it into a window.
createFigures
public void createFigures()
- Create instances of Vector Figures and make them
draggable and resizeable.
main
public static void main(java.lang.String[] argv)
- Main function