Class 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$
    Author:
    John Reekie
    • Constructor Summary

      Constructors 
      Constructor Description
      VectorFigureTutorial()
      Create a JCanvas and put it into a window.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • 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​(java.lang.String[] argv)
        Main function