org.freehep.graphicsio.swf
Class SWFPathConstructor

java.lang.Object
  extended by org.freehep.graphicsio.AbstractPathConstructor
      extended by org.freehep.graphicsio.CubicToQuadPathConstructor
          extended by org.freehep.graphicsio.swf.SWFPathConstructor
All Implemented Interfaces:
org.freehep.graphicsio.PathConstructor, SWFConstants

public class SWFPathConstructor
extends org.freehep.graphicsio.CubicToQuadPathConstructor
implements SWFConstants

Version:
$Id: SWFPathConstructor.java 8584 2006-08-10 23:06:37Z duns $
Author:
Mark Donszelmann

Field Summary
 
Fields inherited from class org.freehep.graphicsio.AbstractPathConstructor
currentX, currentY
 
Fields inherited from interface org.freehep.graphicsio.swf.SWFConstants
CONTROL, DEFAULT_VERSION, DEFINITION, LANGUAGE_JAPANESE, LANGUAGE_KOREAN, LANGUAGE_LATIN, LANGUAGE_SIMPLIFIED_CHINESE, LANGUAGE_TRADITIONAL_CHINESE, TWIPS
 
Constructor Summary
SWFPathConstructor(java.util.Vector path, int stroke, int fill0, int fill1)
           
SWFPathConstructor(java.util.Vector path, int stroke, int fill0, int fill1, double resolution)
           
 
Method Summary
 void closePath(double xd0, double yd0)
           
 void line(double x, double y)
           
 void move(double x, double y)
           
 void quad(double x1, double y1, double x2, double y2)
           
 
Methods inherited from class org.freehep.graphicsio.CubicToQuadPathConstructor
cubic, intersect, main, midPoint, quadratify
 
Methods inherited from class org.freehep.graphicsio.AbstractPathConstructor
addPath, addPath, addPath, flush, isEvenOdd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWFPathConstructor

public SWFPathConstructor(java.util.Vector path,
                          int stroke,
                          int fill0,
                          int fill1)

SWFPathConstructor

public SWFPathConstructor(java.util.Vector path,
                          int stroke,
                          int fill0,
                          int fill1,
                          double resolution)
Method Detail

move

public void move(double x,
                 double y)
          throws java.io.IOException
Specified by:
move in interface org.freehep.graphicsio.PathConstructor
Overrides:
move in class org.freehep.graphicsio.CubicToQuadPathConstructor
Throws:
java.io.IOException

line

public void line(double x,
                 double y)
          throws java.io.IOException
Specified by:
line in interface org.freehep.graphicsio.PathConstructor
Overrides:
line in class org.freehep.graphicsio.CubicToQuadPathConstructor
Throws:
java.io.IOException

quad

public void quad(double x1,
                 double y1,
                 double x2,
                 double y2)
          throws java.io.IOException
Specified by:
quad in interface org.freehep.graphicsio.PathConstructor
Throws:
java.io.IOException

closePath

public void closePath(double xd0,
                      double yd0)
               throws java.io.IOException
Specified by:
closePath in interface org.freehep.graphicsio.PathConstructor
Overrides:
closePath in class org.freehep.graphicsio.CubicToQuadPathConstructor
Throws:
java.io.IOException


Copyright © 2000-2006 FreeHEP. All Rights Reserved.