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) |
quad
public PSPathConstructor(PrintStream os, boolean useProlog, boolean intPrecision)
public void move(double x, double y) throws IOException
move
in interface PathConstructor
move
in class QuadToCubicPathConstructor
IOException
public void line(double x, double y) throws IOException
line
in interface PathConstructor
line
in class QuadToCubicPathConstructor
IOException
public void cubic(double x1, double y1, double x2, double y2, double x3, double y3) throws IOException
cubic
in interface PathConstructor
cubic
in class QuadToCubicPathConstructor
IOException
public void closePath(double x0, double y0) throws IOException
closePath
in interface PathConstructor
closePath
in class QuadToCubicPathConstructor
IOException
protected String fixedPrecision(double d)
Copyright © 2020. All rights reserved.