maslab.vis
Class VisFigFile

java.lang.Object
  extended by maslab.vis.VisObject
      extended by maslab.vis.VisFigFile

public class VisFigFile
extends VisObject


Field Summary
 double size
           
 
Fields inherited from class maslab.vis.VisObject
coordinateSpace, SCREENSPACE, WORLDSPACE
 
Constructor Summary
VisFigFile(java.io.File f)
           
 
Method Summary
 void findOffset()
           
 void paint(VisCanvas vc, java.awt.Graphics2D g, java.awt.image.BufferedImage bi)
          Overriden by each subclass to draw itself onto the provided graphics context.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

size

public double size
Constructor Detail

VisFigFile

public VisFigFile(java.io.File f)
           throws java.io.IOException
Throws:
java.io.IOException
Method Detail

findOffset

public void findOffset()

paint

public void paint(VisCanvas vc,
                  java.awt.Graphics2D g,
                  java.awt.image.BufferedImage bi)
Description copied from class: VisObject
Overriden by each subclass to draw itself onto the provided graphics context. Applications can choose to use either the Graphics2D (which has the correct transform already set up) or to draw to the buffered image directly.

Specified by:
paint in class VisObject