com.itextpdf.awt.geom
Class CubicCurve2D.Float

java.lang.Object
  extended by com.itextpdf.awt.geom.CubicCurve2D
      extended by com.itextpdf.awt.geom.CubicCurve2D.Float
All Implemented Interfaces:
Shape, Cloneable
Enclosing class:
CubicCurve2D

public static class CubicCurve2D.Float
extends CubicCurve2D


Nested Class Summary
 
Nested classes/interfaces inherited from class com.itextpdf.awt.geom.CubicCurve2D
CubicCurve2D.Double, CubicCurve2D.Float
 
Field Summary
 float ctrlx1
           
 float ctrlx2
           
 float ctrly1
           
 float ctrly2
           
 float x1
           
 float x2
           
 float y1
           
 float y2
           
 
Constructor Summary
CubicCurve2D.Float()
           
CubicCurve2D.Float(float x1, float y1, float ctrlx1, float ctrly1, float ctrlx2, float ctrly2, float x2, float y2)
           
 
Method Summary
 Rectangle2D getBounds2D()
           
 Point2D getCtrlP1()
           
 Point2D getCtrlP2()
           
 double getCtrlX1()
           
 double getCtrlX2()
           
 double getCtrlY1()
           
 double getCtrlY2()
           
 Point2D getP1()
           
 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)
           
 void setCurve(float x1, float y1, float ctrlx1, float ctrly1, float ctrlx2, float ctrly2, float x2, float y2)
           
 
Methods inherited from class com.itextpdf.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

x1

public float x1

y1

public float y1

ctrlx1

public float ctrlx1

ctrly1

public float ctrly1

ctrlx2

public float ctrlx2

ctrly2

public float ctrly2

x2

public float x2

y2

public float y2
Constructor Detail

CubicCurve2D.Float

public CubicCurve2D.Float()

CubicCurve2D.Float

public CubicCurve2D.Float(float x1,
                          float y1,
                          float ctrlx1,
                          float ctrly1,
                          float ctrlx2,
                          float ctrly2,
                          float x2,
                          float y2)
Method Detail

getX1

public double getX1()
Specified by:
getX1 in class CubicCurve2D

getY1

public double getY1()
Specified by:
getY1 in class CubicCurve2D

getCtrlX1

public double getCtrlX1()
Specified by:
getCtrlX1 in class CubicCurve2D

getCtrlY1

public double getCtrlY1()
Specified by:
getCtrlY1 in class CubicCurve2D

getCtrlX2

public double getCtrlX2()
Specified by:
getCtrlX2 in class CubicCurve2D

getCtrlY2

public double getCtrlY2()
Specified by:
getCtrlY2 in class CubicCurve2D

getX2

public double getX2()
Specified by:
getX2 in class CubicCurve2D

getY2

public double getY2()
Specified by:
getY2 in class CubicCurve2D

getP1

public Point2D getP1()
Specified by:
getP1 in class CubicCurve2D

getCtrlP1

public Point2D getCtrlP1()
Specified by:
getCtrlP1 in class CubicCurve2D

getCtrlP2

public Point2D getCtrlP2()
Specified by:
getCtrlP2 in class CubicCurve2D

getP2

public Point2D getP2()
Specified by:
getP2 in class 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 CubicCurve2D

setCurve

public void setCurve(float x1,
                     float y1,
                     float ctrlx1,
                     float ctrly1,
                     float ctrlx2,
                     float ctrly2,
                     float x2,
                     float y2)

getBounds2D

public Rectangle2D getBounds2D()


Copyright © 2013. All Rights Reserved.