Save This Page
Home » openjdk-7 » java » awt » geom » [javadoc | source]
java.awt.geom
public static class: QuadCurve2D.Float [javadoc | source]
java.lang.Object
   java.awt.geom.QuadCurve2D
      java.awt.geom.QuadCurve2D$Float

All Implemented Interfaces:
    Serializable, Shape, Cloneable

A quadratic parametric curve segment specified with {@code float} coordinates.
Field Summary
public  float x1    The X coordinate of the start point of the quadratic curve segment.
    since: 1.2 -
    serial:
 
public  float y1    The Y coordinate of the start point of the quadratic curve segment.
    since: 1.2 -
    serial:
 
public  float ctrlx    The X coordinate of the control point of the quadratic curve segment.
    since: 1.2 -
    serial:
 
public  float ctrly    The Y coordinate of the control point of the quadratic curve segment.
    since: 1.2 -
    serial:
 
public  float x2    The X coordinate of the end point of the quadratic curve segment.
    since: 1.2 -
    serial:
 
public  float y2    The Y coordinate of the end point of the quadratic curve segment.
    since: 1.2 -
    serial:
 
Constructor:
 public Float() 
 public Float(float x1,
    float y1,
    float ctrlx,
    float ctrly,
    float x2,
    float y2) 
Method from java.awt.geom.QuadCurve2D$Float Summary:
getBounds2D,   getCtrlPt,   getCtrlX,   getCtrlY,   getP1,   getP2,   getX1,   getX2,   getY1,   getY2,   setCurve,   setCurve
Methods from java.awt.geom.QuadCurve2D:
clone,   contains,   contains,   contains,   contains,   getBounds,   getCtrlPt,   getCtrlX,   getCtrlY,   getFlatness,   getFlatness,   getFlatness,   getFlatnessSq,   getFlatnessSq,   getFlatnessSq,   getP1,   getP2,   getPathIterator,   getPathIterator,   getX1,   getX2,   getY1,   getY2,   intersects,   intersects,   setCurve,   setCurve,   setCurve,   setCurve,   setCurve,   solveQuadratic,   solveQuadratic,   subdivide,   subdivide,   subdivide
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.awt.geom.QuadCurve2D$Float Detail:
 public Rectangle2D getBounds2D() 
    {@inheritDoc}
 public Point2D getCtrlPt() 
    {@inheritDoc}
 public double getCtrlX() 
    {@inheritDoc}
 public double getCtrlY() 
    {@inheritDoc}
 public Point2D getP1() 
    {@inheritDoc}
 public Point2D getP2() 
    {@inheritDoc}
 public double getX1() 
    {@inheritDoc}
 public double getX2() 
    {@inheritDoc}
 public double getY1() 
    {@inheritDoc}
 public double getY2() 
    {@inheritDoc}
 public  void setCurve(double x1,
    double y1,
    double ctrlx,
    double ctrly,
    double x2,
    double y2) 
    {@inheritDoc}
 public  void setCurve(float x1,
    float y1,
    float ctrlx,
    float ctrly,
    float x2,
    float y2) 
    Sets the location of the end points and control point of this curve to the specified {@code float} coordinates.