public static class CubicCurve2D.Double extends CubicCurve2D
CubicCurve2D.Double, CubicCurve2D.Float
Modifier and Type | Field and Description |
---|---|
double |
ctrlx1 |
double |
ctrlx2 |
double |
ctrly1 |
double |
ctrly2 |
double |
x1 |
double |
x2 |
double |
y1 |
double |
y2 |
Constructor and Description |
---|
Double() |
Double(double x1, double y1, double ctrlx1, double ctrly1, double ctrlx2, double ctrly2, double x2, double y2) |
Modifier and Type | Method and Description |
---|---|
Rectangle2D |
getBounds2D() |
Point2D |
getCtrlP1() |
Point2D |
getCtrlP2() |
double |
getCtrlX1() |
double |
getCtrlX2() |
double |
getCtrlY1() |
double |
getCtrlY2() |
Point2D |
getP1() |
Point2D |
getP2() |
double |
getX1() |
double |
getX2() |
double |
getY1() |
double |
getY2() |
void |
setCurve(double x1, double y1, double ctrlx1, double ctrly1, double ctrlx2, double ctrly2, double x2, double y2) |
clone, contains, contains, contains, contains, getBounds, getFlatness, getFlatness, getFlatness, getFlatnessSq, getFlatnessSq, getFlatnessSq, getPathIterator, getPathIterator, intersects, intersects, setCurve, setCurve, setCurve, setCurve, solveCubic, solveCubic, subdivide, subdivide, subdivide
public double x1
public double y1
public double ctrlx1
public double ctrly1
public double ctrlx2
public double ctrly2
public double x2
public double y2
public Double()
public Double(double x1, double y1, double ctrlx1, double ctrly1, double ctrlx2, double ctrly2, double x2, double y2)
public double getX1()
getX1
in class CubicCurve2D
public double getY1()
getY1
in class CubicCurve2D
public double getCtrlX1()
getCtrlX1
in class CubicCurve2D
public double getCtrlY1()
getCtrlY1
in class CubicCurve2D
public double getCtrlX2()
getCtrlX2
in class CubicCurve2D
public double getCtrlY2()
getCtrlY2
in class CubicCurve2D
public double getX2()
getX2
in class CubicCurve2D
public double getY2()
getY2
in class CubicCurve2D
public Point2D getP1()
getP1
in class CubicCurve2D
public Point2D getCtrlP1()
getCtrlP1
in class CubicCurve2D
public Point2D getCtrlP2()
getCtrlP2
in class CubicCurve2D
public Point2D getP2()
getP2
in class CubicCurve2D
public void setCurve(double x1, double y1, double ctrlx1, double ctrly1, double ctrlx2, double ctrly2, double x2, double y2)
setCurve
in class CubicCurve2D
public Rectangle2D getBounds2D()
Copyright © 1998–2018. All rights reserved.