Vector Graphics, 2.4

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:
PathConstructor, SWFConstants

public class SWFPathConstructor
extends CubicToQuadPathConstructor
implements SWFConstants

Version:
$Id: freehep-graphicsio-swf/src/main/java/org/freehep/graphicsio/swf/SWFPathConstructor.java db861da05344 2005/12/05 00:59:43 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(Vector<SWFShape.Record> path, int stroke, int fill0, int fill1)
           
SWFPathConstructor(Vector<SWFShape.Record> 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(Vector<SWFShape.Record> path,
                          int stroke,
                          int fill0,
                          int fill1)

SWFPathConstructor

public SWFPathConstructor(Vector<SWFShape.Record> path,
                          int stroke,
                          int fill0,
                          int fill1,
                          double resolution)
Method Detail

move

public void move(double x,
                 double y)
          throws IOException
Specified by:
move in interface PathConstructor
Overrides:
move in class CubicToQuadPathConstructor
Throws:
IOException

line

public void line(double x,
                 double y)
          throws IOException
Specified by:
line in interface PathConstructor
Overrides:
line in class CubicToQuadPathConstructor
Throws:
IOException

quad

public void quad(double x1,
                 double y1,
                 double x2,
                 double y2)
          throws IOException
Specified by:
quad in interface PathConstructor
Throws:
IOException

closePath

public void closePath(double xd0,
                      double yd0)
               throws IOException
Specified by:
closePath in interface PathConstructor
Overrides:
closePath in class CubicToQuadPathConstructor
Throws:
IOException

Vector Graphics, 2.4

Copyright © 2014. All rights reserved.