public static class QuadCurve2D.Float extends QuadCurve2D
QuadCurve2D.Double, QuadCurve2D.Float
Modifier and Type | Field and Description |
---|---|
float |
ctrlx |
float |
ctrly |
float |
x1 |
float |
x2 |
float |
y1 |
float |
y2 |
Constructor and Description |
---|
Float() |
Float(float x1, float y1, float ctrlx, float ctrly, float x2, float y2) |
Modifier and Type | Method and Description |
---|---|
Rectangle2D |
getBounds2D() |
Point2D |
getCtrlPt() |
double |
getCtrlX() |
double |
getCtrlY() |
Point2D |
getP1() |
Point2D |
getP2() |
double |
getX1() |
double |
getX2() |
double |
getY1() |
double |
getY2() |
void |
setCurve(double x1, double y1, double ctrlx, double ctrly, double x2, double y2) |
void |
setCurve(float x1, float y1, float ctrlx, float ctrly, float x2, float y2) |
clone, contains, contains, contains, contains, getBounds, getFlatness, getFlatness, getFlatness, getFlatnessSq, getFlatnessSq, getFlatnessSq, getPathIterator, getPathIterator, intersects, intersects, setCurve, setCurve, setCurve, setCurve, solveQuadratic, solveQuadratic, subdivide, subdivide, subdivide
public float x1
public float y1
public float ctrlx
public float ctrly
public float x2
public float y2
public Float()
public Float(float x1, float y1, float ctrlx, float ctrly, float x2, float y2)
public double getX1()
getX1
in class QuadCurve2D
public double getY1()
getY1
in class QuadCurve2D
public double getCtrlX()
getCtrlX
in class QuadCurve2D
public double getCtrlY()
getCtrlY
in class QuadCurve2D
public double getX2()
getX2
in class QuadCurve2D
public double getY2()
getY2
in class QuadCurve2D
public Point2D getP1()
getP1
in class QuadCurve2D
public Point2D getCtrlPt()
getCtrlPt
in class QuadCurve2D
public Point2D getP2()
getP2
in class QuadCurve2D
public void setCurve(double x1, double y1, double ctrlx, double ctrly, double x2, double y2)
setCurve
in class QuadCurve2D
public void setCurve(float x1, float y1, float ctrlx, float ctrly, float x2, float y2)
public Rectangle2D getBounds2D()
Copyright © 2016. All rights reserved.