Class LazyCubic

java.lang.Object
  |
  +--java.awt.geom.CubicCurve2D
        |
        +--LazyCubic
All Implemented Interfaces:
java.lang.Cloneable, java.awt.Shape

public class LazyCubic
extends java.awt.geom.CubicCurve2D


Field Summary
(package private)  java.awt.geom.Point2D ctrlP1
           
(package private)  java.awt.geom.Point2D ctrlP2
           
(package private)  ViewTransform p1
           
(package private)  ViewTransform p2
           
 
Fields inherited from class java.awt.geom.CubicCurve2D
 
Constructor Summary
LazyCubic(ViewTransform p1, java.awt.geom.Point2D ctrlp1, java.awt.geom.Point2D ctrlp2, ViewTransform p2)
           
 
Method Summary
 java.awt.geom.Rectangle2D getBounds2D()
           
 java.awt.geom.Point2D getCtrlP1()
           
 java.awt.geom.Point2D getCtrlP2()
           
 double getCtrlX1()
           
 double getCtrlX2()
           
 double getCtrlY1()
           
 double getCtrlY2()
           
 java.awt.geom.Point2D getP1()
           
 java.awt.geom.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)
           
 
Methods inherited from class java.awt.geom.CubicCurve2D
clone, contains, contains, contains, contains, getBounds, getFlatness, getFlatness, getFlatness, getFlatnessSq, getFlatnessSq, getFlatnessSq, getPathIterator, getPathIterator, intersects, intersects, setCurve, setCurve, setCurve, setCurve, solveCubic, solveCubic, subdivide, subdivide, subdivide
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

p1

ViewTransform p1

p2

ViewTransform p2

ctrlP1

java.awt.geom.Point2D ctrlP1

ctrlP2

java.awt.geom.Point2D ctrlP2
Constructor Detail

LazyCubic

public LazyCubic(ViewTransform p1,
                 java.awt.geom.Point2D ctrlp1,
                 java.awt.geom.Point2D ctrlp2,
                 ViewTransform p2)
Method Detail

getCtrlP1

public java.awt.geom.Point2D getCtrlP1()
Specified by:
getCtrlP1 in class java.awt.geom.CubicCurve2D

getCtrlX1

public double getCtrlX1()
Specified by:
getCtrlX1 in class java.awt.geom.CubicCurve2D

getCtrlY1

public double getCtrlY1()
Specified by:
getCtrlY1 in class java.awt.geom.CubicCurve2D

getCtrlP2

public java.awt.geom.Point2D getCtrlP2()
Specified by:
getCtrlP2 in class java.awt.geom.CubicCurve2D

getCtrlX2

public double getCtrlX2()
Specified by:
getCtrlX2 in class java.awt.geom.CubicCurve2D

getCtrlY2

public double getCtrlY2()
Specified by:
getCtrlY2 in class java.awt.geom.CubicCurve2D

getP1

public java.awt.geom.Point2D getP1()
Specified by:
getP1 in class java.awt.geom.CubicCurve2D

getX1

public double getX1()
Specified by:
getX1 in class java.awt.geom.CubicCurve2D

getY1

public double getY1()
Specified by:
getY1 in class java.awt.geom.CubicCurve2D

getP2

public java.awt.geom.Point2D getP2()
Specified by:
getP2 in class java.awt.geom.CubicCurve2D

getX2

public double getX2()
Specified by:
getX2 in class java.awt.geom.CubicCurve2D

getY2

public double getY2()
Specified by:
getY2 in class java.awt.geom.CubicCurve2D

setCurve

public void setCurve(double x1,
                     double y1,
                     double ctrlx1,
                     double ctrly1,
                     double ctrlx2,
                     double ctrly2,
                     double x2,
                     double y2)
Specified by:
setCurve in class java.awt.geom.CubicCurve2D

getBounds2D

public java.awt.geom.Rectangle2D getBounds2D()