Introduction to the Figure Package - Variables
[Introduction to figPac  | figPac API  ]

Variables

The most important variables of the class Figure are
       Name        Type          Significance

       elements    Vector        The sequence of figure elements. Each
                                 element must implement the interface
                                 fElement.
                                 
       env         Hashtable     The table of variables determining the 
                                 drawing environment. Each entry of the
                                 table must have a name, that is a string,
                                 and a value, that is an Object.
                                 
       baseUsr2dvc     V2V       Used to initialize the coordinate map from user
                                 to device coordinates when drawing of the Figure commences.

       usr2dvc     V2V           The R^d to R^2 function that converts
                                 figure coordinates to device coordinates.
                                 
       showCoords  boolean       Turns the coordinate display (that is a 
                                 display that shows the usr coordinates of 
                                 the current mouse position) on or off

       useZoom     boolean       Determines whether or not the usr
                                 coordinates are automatically zoomed
                                 when the viewer clicks mouse button number
                                 1 on the image. Mouse button number three
                                 resets to the orignial coordinates.

       useDrag     boolean       Determines whether or not the usr
                                 coordinates are automatically translated
                                 as the viewer drags the number 2 mouse 
                                 button on the image

      showCanvasBoundary boolean  Determines whether or not the
                                  canvas boundary (the outside edge of the margins)
                                  is displayed.

      showFigureBoundary boolean  Determines whether or not the
                                  figure boundary (the inside edge of the margins)
                                  is displayed.




[Introduction to figPac  | figPac API  ]