public class PSPathConstructor extends QuadToCubicPathConstructor
currentX, currentY| Constructor and Description |
|---|
PSPathConstructor(PrintStream os,
boolean useProlog,
boolean intPrecision) |
| Modifier and Type | Method and Description |
|---|---|
void |
closePath(double x0,
double y0) |
void |
cubic(double x1,
double y1,
double x2,
double y2,
double x3,
double y3) |
protected String |
fixedPrecision(double d) |
void |
line(double x,
double y) |
void |
move(double x,
double y) |
quadpublic PSPathConstructor(PrintStream os, boolean useProlog, boolean intPrecision)
public void move(double x,
double y)
throws IOException
move in interface PathConstructormove in class QuadToCubicPathConstructorIOExceptionpublic void line(double x,
double y)
throws IOException
line in interface PathConstructorline in class QuadToCubicPathConstructorIOExceptionpublic void cubic(double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
throws IOException
cubic in interface PathConstructorcubic in class QuadToCubicPathConstructorIOExceptionpublic void closePath(double x0,
double y0)
throws IOException
closePath in interface PathConstructorclosePath in class QuadToCubicPathConstructorIOExceptionprotected String fixedPrecision(double d)
Copyright © 2020. All rights reserved.