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

All Implemented Interfaces:
    Serializable, Shape, Cloneable

A cubic parametric curve segment specified with {@code float} coordinates.
Field Summary
public  float x1    The X coordinate of the start point of the cubic curve segment.
    since: 1.2 -
    serial:
 
public  float y1    The Y coordinate of the start point of the cubic curve segment.
    since: 1.2 -
    serial:
 
public  float ctrlx1    The X coordinate of the first control point of the cubic curve segment.
    since: 1.2 -
    serial:
 
public  float ctrly1    The Y coordinate of the first control point of the cubic curve segment.
    since: 1.2 -
    serial:
 
public  float ctrlx2    The X coordinate of the second control point of the cubic curve segment.
    since: 1.2 -
    serial:
 
public  float ctrly2    The Y coordinate of the second control point of the cubic curve segment.
    since: 1.2 -
    serial:
 
public  float x2    The X coordinate of the end point of the cubic curve segment.
    since: 1.2 -
    serial:
 
public  float y2    The Y coordinate of the end point of the cubic curve segment.
    since: 1.2 -
    serial:
 
Constructor:
 public Float() 
 public Float(float x1,
    float y1,
    float ctrlx1,
    float ctrly1,
    float ctrlx2,
    float ctrly2,
    float x2,
    float y2) 
Method from java.awt.geom.CubicCurve2D$Float Summary:
getBounds2D,   getCtrlP1,   getCtrlP2,   getCtrlX1,   getCtrlX2,   getCtrlY1,   getCtrlY2,   getP1,   getP2,   getX1,   getX2,   getY1,   getY2,   setCurve,   setCurve
Methods from java.awt.geom.CubicCurve2D:
clone,   contains,   contains,   contains,   contains,   getBounds,   getCtrlP1,   getCtrlP2,   getCtrlX1,   getCtrlX2,   getCtrlY1,   getCtrlY2,   getFlatness,   getFlatness,   getFlatness,   getFlatnessSq,   getFlatnessSq,   getFlatnessSq,   getP1,   getP2,   getPathIterator,   getPathIterator,   getX1,   getX2,   getY1,   getY2,   intersects,   intersects,   setCurve,   setCurve,   setCurve,   setCurve,   setCurve,   solveCubic,   solveCubic,   subdivide,   subdivide,   subdivide
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.awt.geom.CubicCurve2D$Float Detail:
 public Rectangle2D getBounds2D() 
    {@inheritDoc}
 public Point2D getCtrlP1() 
    {@inheritDoc}
 public Point2D getCtrlP2() 
    {@inheritDoc}
 public double getCtrlX1() 
    {@inheritDoc}
 public double getCtrlX2() 
    {@inheritDoc}
 public double getCtrlY1() 
    {@inheritDoc}
 public double getCtrlY2() 
    {@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 ctrlx1,
    double ctrly1,
    double ctrlx2,
    double ctrly2,
    double x2,
    double y2) 
    {@inheritDoc}
 public  void setCurve(float x1,
    float y1,
    float ctrlx1,
    float ctrly1,
    float ctrlx2,
    float ctrly2,
    float x2,
    float y2) 
    Sets the location of the end points and control points of this curve to the specified {@code float} coordinates.