java.awt.geom
Class CubicCurve2D.Double

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.awt.geom.CubicCurve2D sample code for java.awt.geom.CubicCurve2D definition code for java.awt.geom.CubicCurve2D 
      extended by java.awt.geom.CubicCurve2D.Double
All Implemented Interfaces:
Shape sample code for java.awt.Shape definition code for java.awt.Shape , Cloneable sample code for java.lang.Cloneable definition code for java.lang.Cloneable
Enclosing class:
CubicCurve2D sample code for java.awt.geom.CubicCurve2D definition code for java.awt.geom.CubicCurve2D

public static class CubicCurve2D.Double
extends CubicCurve2D sample code for java.awt.geom.CubicCurve2D definition code for java.awt.geom.CubicCurve2D

A cubic parametric curve segment specified with double coordinates.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.geom.CubicCurve2D sample code for java.awt.geom.CubicCurve2D definition code for java.awt.geom.CubicCurve2D
CubicCurve2D.Double sample code for java.awt.geom.CubicCurve2D.Double definition code for java.awt.geom.CubicCurve2D.Double , CubicCurve2D.Float sample code for java.awt.geom.CubicCurve2D.Float definition code for java.awt.geom.CubicCurve2D.Float
 
Field Summary
 double ctrlx1 sample code for java.awt.geom.CubicCurve2D.Double.ctrlx1 definition code for java.awt.geom.CubicCurve2D.Double.ctrlx1
          The X coordinate of the first control point of the cubic curve segment.
 double ctrlx2 sample code for java.awt.geom.CubicCurve2D.Double.ctrlx2 definition code for java.awt.geom.CubicCurve2D.Double.ctrlx2
          The X coordinate of the second control point of the cubic curve segment.
 double ctrly1 sample code for java.awt.geom.CubicCurve2D.Double.ctrly1 definition code for java.awt.geom.CubicCurve2D.Double.ctrly1
          The Y coordinate of the first control point of the cubic curve segment.
 double ctrly2 sample code for java.awt.geom.CubicCurve2D.Double.ctrly2 definition code for java.awt.geom.CubicCurve2D.Double.ctrly2
          The Y coordinate of the second control point of the cubic curve segment.
 double x1 sample code for java.awt.geom.CubicCurve2D.Double.x1 definition code for java.awt.geom.CubicCurve2D.Double.x1
          The X coordinate of the start point of the cubic curve segment.
 double x2 sample code for java.awt.geom.CubicCurve2D.Double.x2 definition code for java.awt.geom.CubicCurve2D.Double.x2
          The X coordinate of the end point of the cubic curve segment.
 double y1 sample code for java.awt.geom.CubicCurve2D.Double.y1 definition code for java.awt.geom.CubicCurve2D.Double.y1
          The Y coordinate of the start point of the cubic curve segment.
 double y2 sample code for java.awt.geom.CubicCurve2D.Double.y2 definition code for java.awt.geom.CubicCurve2D.Double.y2
          The Y coordinate of the end point of the cubic curve segment.
 
Constructor Summary
CubicCurve2D.Double sample code for java.awt.geom.CubicCurve2D.Double.CubicCurve2D.Double() definition code for java.awt.geom.CubicCurve2D.Double.CubicCurve2D.Double() ()
          Constructs and initializes a CubicCurve with coordinates (0, 0, 0, 0, 0, 0).
CubicCurve2D.Double sample code for java.awt.geom.CubicCurve2D.Double.CubicCurve2D.Double(double, double, double, double, double, double, double, double) definition code for java.awt.geom.CubicCurve2D.Double.CubicCurve2D.Double(double, double, double, double, double, double, double, double) (double x1, double y1, double ctrlx1, double ctrly1, double ctrlx2, double ctrly2, double x2, double y2)
          Constructs and initializes a CubicCurve2D from the specified coordinates.
 
Method Summary
 Rectangle2D sample code for java.awt.geom.Rectangle2D definition code for java.awt.geom.Rectangle2D getBounds2D sample code for java.awt.geom.CubicCurve2D.Double.getBounds2D() definition code for java.awt.geom.CubicCurve2D.Double.getBounds2D() ()
          Returns the bounding box of the shape.
 Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D getCtrlP1 sample code for java.awt.geom.CubicCurve2D.Double.getCtrlP1() definition code for java.awt.geom.CubicCurve2D.Double.getCtrlP1() ()
          Returns the first control point.
 Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D getCtrlP2 sample code for java.awt.geom.CubicCurve2D.Double.getCtrlP2() definition code for java.awt.geom.CubicCurve2D.Double.getCtrlP2() ()
          Returns the second control point.
 double getCtrlX1 sample code for java.awt.geom.CubicCurve2D.Double.getCtrlX1() definition code for java.awt.geom.CubicCurve2D.Double.getCtrlX1() ()
          Returns the X coordinate of the first control point in double precision.
 double getCtrlX2 sample code for java.awt.geom.CubicCurve2D.Double.getCtrlX2() definition code for java.awt.geom.CubicCurve2D.Double.getCtrlX2() ()
          Returns the X coordinate of the second control point in double precision.
 double getCtrlY1 sample code for java.awt.geom.CubicCurve2D.Double.getCtrlY1() definition code for java.awt.geom.CubicCurve2D.Double.getCtrlY1() ()
          Returns the Y coordinate of the first control point in double precision.
 double getCtrlY2 sample code for java.awt.geom.CubicCurve2D.Double.getCtrlY2() definition code for java.awt.geom.CubicCurve2D.Double.getCtrlY2() ()
          Returns the Y coordinate of the second control point in double precision.
 Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D getP1 sample code for java.awt.geom.CubicCurve2D.Double.getP1() definition code for java.awt.geom.CubicCurve2D.Double.getP1() ()
          Returns the start point.
 Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D getP2 sample code for java.awt.geom.CubicCurve2D.Double.getP2() definition code for java.awt.geom.CubicCurve2D.Double.getP2() ()
          Returns the end point.
 double getX1 sample code for java.awt.geom.CubicCurve2D.Double.getX1() definition code for java.awt.geom.CubicCurve2D.Double.getX1() ()
          Returns the X coordinate of the start point in double precision.
 double getX2 sample code for java.awt.geom.CubicCurve2D.Double.getX2() definition code for java.awt.geom.CubicCurve2D.Double.getX2() ()
          Returns the X coordinate of the end point in double precision.
 double getY1 sample code for java.awt.geom.CubicCurve2D.Double.getY1() definition code for java.awt.geom.CubicCurve2D.Double.getY1() ()
          Returns the Y coordinate of the start point in double precision.
 double getY2 sample code for java.awt.geom.CubicCurve2D.Double.getY2() definition code for java.awt.geom.CubicCurve2D.Double.getY2() ()
          Returns the Y coordinate of the end point in double precision.
 void setCurve sample code for java.awt.geom.CubicCurve2D.Double.setCurve(double, double, double, double, double, double, double, double) definition code for java.awt.geom.CubicCurve2D.Double.setCurve(double, double, double, double, double, double, double, double) (double x1, double y1, double ctrlx1, double ctrly1, double ctrlx2, double ctrly2, double x2, double y2)
          Sets the location of the endpoints and controlpoints of this curve to the specified double coordinates.
 
Methods inherited from class java.awt.geom.CubicCurve2D sample code for java.awt.geom.CubicCurve2D definition code for java.awt.geom.CubicCurve2D
clone sample code for java.awt.geom.CubicCurve2D.clone() definition code for java.awt.geom.CubicCurve2D.clone() , contains sample code for java.awt.geom.CubicCurve2D.contains(double, double) definition code for java.awt.geom.CubicCurve2D.contains(double, double) , contains sample code for java.awt.geom.CubicCurve2D.contains(double, double, double, double) definition code for java.awt.geom.CubicCurve2D.contains(double, double, double, double) , contains sample code for java.awt.geom.CubicCurve2D.contains(java.awt.geom.Point2D) definition code for java.awt.geom.CubicCurve2D.contains(java.awt.geom.Point2D) , contains sample code for java.awt.geom.CubicCurve2D.contains(java.awt.geom.Rectangle2D) definition code for java.awt.geom.CubicCurve2D.contains(java.awt.geom.Rectangle2D) , getBounds sample code for java.awt.geom.CubicCurve2D.getBounds() definition code for java.awt.geom.CubicCurve2D.getBounds() , getFlatness sample code for java.awt.geom.CubicCurve2D.getFlatness() definition code for java.awt.geom.CubicCurve2D.getFlatness() , getFlatness sample code for java.awt.geom.CubicCurve2D.getFlatness(double[], int) definition code for java.awt.geom.CubicCurve2D.getFlatness(double[], int) , getFlatness sample code for java.awt.geom.CubicCurve2D.getFlatness(double, double, double, double, double, double, double, double) definition code for java.awt.geom.CubicCurve2D.getFlatness(double, double, double, double, double, double, double, double) , getFlatnessSq sample code for java.awt.geom.CubicCurve2D.getFlatnessSq() definition code for java.awt.geom.CubicCurve2D.getFlatnessSq() , getFlatnessSq sample code for java.awt.geom.CubicCurve2D.getFlatnessSq(double[], int) definition code for java.awt.geom.CubicCurve2D.getFlatnessSq(double[], int) , getFlatnessSq sample code for java.awt.geom.CubicCurve2D.getFlatnessSq(double, double, double, double, double, double, double, double) definition code for java.awt.geom.CubicCurve2D.getFlatnessSq(double, double, double, double, double, double, double, double) , getPathIterator sample code for java.awt.geom.CubicCurve2D.getPathIterator(java.awt.geom.AffineTransform) definition code for java.awt.geom.CubicCurve2D.getPathIterator(java.awt.geom.AffineTransform) , getPathIterator sample code for java.awt.geom.CubicCurve2D.getPathIterator(java.awt.geom.AffineTransform, double) definition code for java.awt.geom.CubicCurve2D.getPathIterator(java.awt.geom.AffineTransform, double) , intersects sample code for java.awt.geom.CubicCurve2D.intersects(double, double, double, double) definition code for java.awt.geom.CubicCurve2D.intersects(double, double, double, double) , intersects sample code for java.awt.geom.CubicCurve2D.intersects(java.awt.geom.Rectangle2D) definition code for java.awt.geom.CubicCurve2D.intersects(java.awt.geom.Rectangle2D) , setCurve sample code for java.awt.geom.CubicCurve2D.setCurve(java.awt.geom.CubicCurve2D) definition code for java.awt.geom.CubicCurve2D.setCurve(java.awt.geom.CubicCurve2D) , setCurve sample code for java.awt.geom.CubicCurve2D.setCurve(double[], int) definition code for java.awt.geom.CubicCurve2D.setCurve(double[], int) , setCurve sample code for java.awt.geom.CubicCurve2D.setCurve(java.awt.geom.Point2D[], int) definition code for java.awt.geom.CubicCurve2D.setCurve(java.awt.geom.Point2D[], int) , setCurve sample code for java.awt.geom.CubicCurve2D.setCurve(java.awt.geom.Point2D, java.awt.geom.Point2D, java.awt.geom.Point2D, java.awt.geom.Point2D) definition code for java.awt.geom.CubicCurve2D.setCurve(java.awt.geom.Point2D, java.awt.geom.Point2D, java.awt.geom.Point2D, java.awt.geom.Point2D) , solveCubic sample code for java.awt.geom.CubicCurve2D.solveCubic(double[]) definition code for java.awt.geom.CubicCurve2D.solveCubic(double[]) , solveCubic sample code for java.awt.geom.CubicCurve2D.solveCubic(double[], double[]) definition code for java.awt.geom.CubicCurve2D.solveCubic(double[], double[]) , subdivide sample code for java.awt.geom.CubicCurve2D.subdivide(java.awt.geom.CubicCurve2D, java.awt.geom.CubicCurve2D) definition code for java.awt.geom.CubicCurve2D.subdivide(java.awt.geom.CubicCurve2D, java.awt.geom.CubicCurve2D) , subdivide sample code for java.awt.geom.CubicCurve2D.subdivide(java.awt.geom.CubicCurve2D, java.awt.geom.CubicCurve2D, java.awt.geom.CubicCurve2D) definition code for java.awt.geom.CubicCurve2D.subdivide(java.awt.geom.CubicCurve2D, java.awt.geom.CubicCurve2D, java.awt.geom.CubicCurve2D) , subdivide sample code for java.awt.geom.CubicCurve2D.subdivide(double[], int, double[], int, double[], int) definition code for java.awt.geom.CubicCurve2D.subdivide(double[], int, double[], int, double[], int)
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Field Detail

x1 sample code for java.awt.geom.CubicCurve2D.Double.x1

public double x1
The X coordinate of the start point of the cubic curve segment.


y1 sample code for java.awt.geom.CubicCurve2D.Double.y1

public double y1
The Y coordinate of the start point of the cubic curve segment.


ctrlx1 sample code for java.awt.geom.CubicCurve2D.Double.ctrlx1

public double ctrlx1
The X coordinate of the first control point of the cubic curve segment.


ctrly1 sample code for java.awt.geom.CubicCurve2D.Double.ctrly1

public double ctrly1
The Y coordinate of the first control point of the cubic curve segment.


ctrlx2 sample code for java.awt.geom.CubicCurve2D.Double.ctrlx2

public double ctrlx2
The X coordinate of the second control point of the cubic curve segment.


ctrly2 sample code for java.awt.geom.CubicCurve2D.Double.ctrly2

public double ctrly2
The Y coordinate of the second control point of the cubic curve segment.


x2 sample code for java.awt.geom.CubicCurve2D.Double.x2

public double x2
The X coordinate of the end point of the cubic curve segment.


y2 sample code for java.awt.geom.CubicCurve2D.Double.y2

public double y2
The Y coordinate of the end point of the cubic curve segment.

Constructor Detail

CubicCurve2D.Double sample code for java.awt.geom.CubicCurve2D.Double() definition code for java.awt.geom.CubicCurve2D.Double()

public CubicCurve2D.Double()
Constructs and initializes a CubicCurve with coordinates (0, 0, 0, 0, 0, 0).


CubicCurve2D.Double sample code for java.awt.geom.CubicCurve2D.Double(double, double, double, double, double, double, double, double) definition code for java.awt.geom.CubicCurve2D.Double(double, double, double, double, double, double, double, double)

public CubicCurve2D.Double(double x1,
                           double y1,
                           double ctrlx1,
                           double ctrly1,
                           double ctrlx2,
                           double ctrly2,
                           double x2,
                           double y2)
Constructs and initializes a CubicCurve2D from the specified coordinates.

Parameters:
x1, y1 - the first specified coordinates for the start point of the resulting CubicCurve2D
ctrlx1, ctrly1 - the second specified coordinates for the first control point of the resulting CubicCurve2D
ctrlx2, ctrly2 - the third specified coordinates for the second control point of the resulting CubicCurve2D
x2, y2 - the fourth specified coordinates for the end point of the resulting CubicCurve2D
Method Detail

getX1 sample code for java.awt.geom.CubicCurve2D.Double.getX1() definition code for java.awt.geom.CubicCurve2D.Double.getX1()

public double getX1()
Returns the X coordinate of the start point in double precision.

Specified by:
getX1 sample code for java.awt.geom.CubicCurve2D.getX1() definition code for java.awt.geom.CubicCurve2D.getX1() in class CubicCurve2D sample code for java.awt.geom.CubicCurve2D definition code for java.awt.geom.CubicCurve2D
Returns:
the X coordinate of the first control point of the CubicCurve2D.

getY1 sample code for java.awt.geom.CubicCurve2D.Double.getY1() definition code for java.awt.geom.CubicCurve2D.Double.getY1()

public double getY1()
Returns the Y coordinate of the start point in double precision.

Specified by:
getY1 sample code for java.awt.geom.CubicCurve2D.getY1() definition code for java.awt.geom.CubicCurve2D.getY1() in class CubicCurve2D sample code for java.awt.geom.CubicCurve2D definition code for java.awt.geom.CubicCurve2D
Returns:
the Y coordinate of the start point of the CubicCurve2D.

getP1 sample code for java.awt.geom.CubicCurve2D.Double.getP1() definition code for java.awt.geom.CubicCurve2D.Double.getP1()

public Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D  getP1()
Returns the start point.

Specified by:
getP1 sample code for java.awt.geom.CubicCurve2D.getP1() definition code for java.awt.geom.CubicCurve2D.getP1() in class CubicCurve2D sample code for java.awt.geom.CubicCurve2D definition code for java.awt.geom.CubicCurve2D
Returns:
a Point2D that is the start point of the CubicCurve2D.

getCtrlX1 sample code for java.awt.geom.CubicCurve2D.Double.getCtrlX1() definition code for java.awt.geom.CubicCurve2D.Double.getCtrlX1()

public double getCtrlX1()
Returns the X coordinate of the first control point in double precision.

Specified by:
getCtrlX1 sample code for java.awt.geom.CubicCurve2D.getCtrlX1() definition code for java.awt.geom.CubicCurve2D.getCtrlX1() in class CubicCurve2D sample code for java.awt.geom.CubicCurve2D definition code for java.awt.geom.CubicCurve2D
Returns:
the X coordinate of the first control point of the CubicCurve2D.

getCtrlY1 sample code for java.awt.geom.CubicCurve2D.Double.getCtrlY1() definition code for java.awt.geom.CubicCurve2D.Double.getCtrlY1()

public double getCtrlY1()
Returns the Y coordinate of the first control point in double precision.

Specified by:
getCtrlY1 sample code for java.awt.geom.CubicCurve2D.getCtrlY1() definition code for java.awt.geom.CubicCurve2D.getCtrlY1() in class CubicCurve2D sample code for java.awt.geom.CubicCurve2D definition code for java.awt.geom.CubicCurve2D
Returns:
the Y coordinate of the first control point of the CubicCurve2D.

getCtrlP1 sample code for java.awt.geom.CubicCurve2D.Double.getCtrlP1() definition code for java.awt.geom.CubicCurve2D.Double.getCtrlP1()

public Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D  getCtrlP1()
Returns the first control point.

Specified by:
getCtrlP1 sample code for java.awt.geom.CubicCurve2D.getCtrlP1() definition code for java.awt.geom.CubicCurve2D.getCtrlP1() in class CubicCurve2D sample code for java.awt.geom.CubicCurve2D definition code for java.awt.geom.CubicCurve2D
Returns:
a Point2D that is the first control point of the CubicCurve2D.

getCtrlX2 sample code for java.awt.geom.CubicCurve2D.Double.getCtrlX2() definition code for java.awt.geom.CubicCurve2D.Double.getCtrlX2()

public double getCtrlX2()
Returns the X coordinate of the second control point in double precision.

Specified by:
getCtrlX2 sample code for java.awt.geom.CubicCurve2D.getCtrlX2() definition code for java.awt.geom.CubicCurve2D.getCtrlX2() in class CubicCurve2D sample code for java.awt.geom.CubicCurve2D definition code for java.awt.geom.CubicCurve2D
Returns:
the X coordinate of the second control point of the CubicCurve2D.

getCtrlY2 sample code for java.awt.geom.CubicCurve2D.Double.getCtrlY2() definition code for java.awt.geom.CubicCurve2D.Double.getCtrlY2()

public double getCtrlY2()
Returns the Y coordinate of the second control point in double precision.

Specified by:
getCtrlY2 sample code for java.awt.geom.CubicCurve2D.getCtrlY2() definition code for java.awt.geom.CubicCurve2D.getCtrlY2() in class CubicCurve2D sample code for java.awt.geom.CubicCurve2D definition code for java.awt.geom.CubicCurve2D
Returns:
the Y coordinate of the second control point of the CubicCurve2D.

getCtrlP2 sample code for java.awt.geom.CubicCurve2D.Double.getCtrlP2() definition code for java.awt.geom.CubicCurve2D.Double.getCtrlP2()

public Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D  getCtrlP2()
Returns the second control point.

Specified by:
getCtrlP2 sample code for java.awt.geom.CubicCurve2D.getCtrlP2() definition code for java.awt.geom.CubicCurve2D.getCtrlP2() in class CubicCurve2D sample code for java.awt.geom.CubicCurve2D definition code for java.awt.geom.CubicCurve2D
Returns:
a Point2D that is the second control point of the CubicCurve2D.

getX2 sample code for java.awt.geom.CubicCurve2D.Double.getX2() definition code for java.awt.geom.CubicCurve2D.Double.getX2()

public double getX2()
Returns the X coordinate of the end point in double precision.

Specified by:
getX2 sample code for java.awt.geom.CubicCurve2D.getX2() definition code for java.awt.geom.CubicCurve2D.getX2() in class CubicCurve2D sample code for java.awt.geom.CubicCurve2D definition code for java.awt.geom.CubicCurve2D
Returns:
the X coordinate of the end point of the CubicCurve2D.

getY2 sample code for java.awt.geom.CubicCurve2D.Double.getY2() definition code for java.awt.geom.CubicCurve2D.Double.getY2()

public double getY2()
Returns the Y coordinate of the end point in double precision.

Specified by:
getY2 sample code for java.awt.geom.CubicCurve2D.getY2() definition code for java.awt.geom.CubicCurve2D.getY2() in class CubicCurve2D sample code for java.awt.geom.CubicCurve2D definition code for java.awt.geom.CubicCurve2D
Returns:
the Y coordinate of the end point of the CubicCurve2D.

getP2 sample code for java.awt.geom.CubicCurve2D.Double.getP2() definition code for java.awt.geom.CubicCurve2D.Double.getP2()

public Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D  getP2()
Returns the end point.

Specified by:
getP2 sample code for java.awt.geom.CubicCurve2D.getP2() definition code for java.awt.geom.CubicCurve2D.getP2() in class CubicCurve2D sample code for java.awt.geom.CubicCurve2D definition code for java.awt.geom.CubicCurve2D
Returns:
a Point2D that is the end point of the CubicCurve2D.

setCurve sample code for java.awt.geom.CubicCurve2D.Double.setCurve(double, double, double, double, double, double, double, double) definition code for java.awt.geom.CubicCurve2D.Double.setCurve(double, double, double, double, double, double, double, double)

public void setCurve(double x1,
                     double y1,
                     double ctrlx1,
                     double ctrly1,
                     double ctrlx2,
                     double ctrly2,
                     double x2,
                     double y2)
Sets the location of the endpoints and controlpoints of this curve to the specified double coordinates.

Specified by:
setCurve sample code for java.awt.geom.CubicCurve2D.setCurve(double, double, double, double, double, double, double, double) definition code for java.awt.geom.CubicCurve2D.setCurve(double, double, double, double, double, double, double, double) in class CubicCurve2D sample code for java.awt.geom.CubicCurve2D definition code for java.awt.geom.CubicCurve2D
Parameters:
x1, y1 - the first specified coordinates used to set the start point of this CubicCurve2D
ctrlx1, ctrly1 - the second specified coordinates used to set the first control point of this CubicCurve2D
ctrlx2, ctrly2 - the third specified coordinates used to set the second control point of this CubicCurve2D
x2, y2 - the fourth specified coordinates used to set the end point of this CubicCurve2D

getBounds2D sample code for java.awt.geom.CubicCurve2D.Double.getBounds2D() definition code for java.awt.geom.CubicCurve2D.Double.getBounds2D()

public Rectangle2D sample code for java.awt.geom.Rectangle2D definition code for java.awt.geom.Rectangle2D  getBounds2D()
Returns the bounding box of the shape.

Returns:
a Rectangle2D that is the bounding box of the shape.
See Also:
Shape.getBounds() sample code for java.awt.Shape.getBounds() definition code for java.awt.Shape.getBounds()