diva.canvas.tutorial
Class VectorFigureTutorial

java.lang.Object
  extended by diva.canvas.tutorial.VectorFigureTutorial

public class VectorFigureTutorial
extends 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:
$Revision: 1.5 $
Author:
John Reekie

Constructor Summary
VectorFigureTutorial()
          Create a JCanvas and put it into a window.
 
Method Summary
 void createFigures()
          Create instances of Vector Figures and make them draggable and resizeable.
static void main(String[] argv)
          Main function
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VectorFigureTutorial

public VectorFigureTutorial()
Create a JCanvas and put it into a window.

Method Detail

createFigures

public void createFigures()
Create instances of Vector Figures and make them draggable and resizeable.


main

public static void main(String[] argv)
Main function



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.