org.freehep.graphicsio.swf
Class SWFPathConstructor
java.lang.Object
org.freehep.graphicsio.AbstractPathConstructor
org.freehep.graphicsio.CubicToQuadPathConstructor
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
| Fields inherited from class org.freehep.graphicsio.AbstractPathConstructor |
currentX, currentY |
|
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 |
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)
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.