public static class CubicCurve2D.Float extends CubicCurve2D
CubicCurve2D.Double, CubicCurve2D.Float| Modifier and Type | Field and Description |
|---|---|
float |
ctrlx1 |
float |
ctrlx2 |
float |
ctrly1 |
float |
ctrly2 |
float |
x1 |
float |
x2 |
float |
y1 |
float |
y2 |
| Constructor and Description |
|---|
Float() |
Float(float x1, float y1, float ctrlx1, float ctrly1, float ctrlx2, float ctrly2, float x2, float 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) |
void |
setCurve(float x1, float y1, float ctrlx1, float ctrly1, float ctrlx2, float ctrly2, float x2, float 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, subdividepublic float x1
public float y1
public float ctrlx1
public float ctrly1
public float ctrlx2
public float ctrly2
public float x2
public float y2
public Float()
public Float(float x1,
float y1,
float ctrlx1,
float ctrly1,
float ctrlx2,
float ctrly2,
float x2,
float 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 void setCurve(float x1,
float y1,
float ctrlx1,
float ctrly1,
float ctrlx2,
float ctrly2,
float x2,
float y2) public Rectangle2D getBounds2D()
Copyright © 1998–2021. All rights reserved.