com.itextpdf.awt.geom
Class QuadCurve2D.Float

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

public static class QuadCurve2D.Float
extends QuadCurve2D


Nested Class Summary
 
Nested classes/interfaces inherited from class com.itextpdf.awt.geom.QuadCurve2D
QuadCurve2D.Double, QuadCurve2D.Float
 
Field Summary
 float ctrlx
           
 float ctrly
           
 float x1
           
 float x2
           
 float y1
           
 float y2
           
 
Constructor Summary
QuadCurve2D.Float()
           
QuadCurve2D.Float(float x1, float y1, float ctrlx, float ctrly, float x2, float y2)
           
 
Method Summary
 Rectangle2D getBounds2D()
           
 Point2D getCtrlPt()
           
 double getCtrlX()
           
 double getCtrlY()
           
 Point2D getP1()
           
 Point2D getP2()
           
 double getX1()
           
 double getX2()
           
 double getY1()
           
 double getY2()
           
 void setCurve(double x1, double y1, double ctrlx, double ctrly, double x2, double y2)
           
 void setCurve(float x1, float y1, float ctrlx, float ctrly, float x2, float y2)
           
 
Methods inherited from class com.itextpdf.awt.geom.QuadCurve2D
clone, contains, contains, contains, contains, getBounds, getFlatness, getFlatness, getFlatness, getFlatnessSq, getFlatnessSq, getFlatnessSq, getPathIterator, getPathIterator, intersects, intersects, setCurve, setCurve, setCurve, setCurve, solveQuadratic, solveQuadratic, 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

ctrlx

public float ctrlx

ctrly

public float ctrly

x2

public float x2

y2

public float y2
Constructor Detail

QuadCurve2D.Float

public QuadCurve2D.Float()

QuadCurve2D.Float

public QuadCurve2D.Float(float x1,
                         float y1,
                         float ctrlx,
                         float ctrly,
                         float x2,
                         float y2)
Method Detail

getX1

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

getY1

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

getCtrlX

public double getCtrlX()
Specified by:
getCtrlX in class QuadCurve2D

getCtrlY

public double getCtrlY()
Specified by:
getCtrlY in class QuadCurve2D

getX2

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

getY2

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

getP1

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

getCtrlPt

public Point2D getCtrlPt()
Specified by:
getCtrlPt in class QuadCurve2D

getP2

public Point2D getP2()
Specified by:
getP2 in class QuadCurve2D

setCurve

public void setCurve(double x1,
                     double y1,
                     double ctrlx,
                     double ctrly,
                     double x2,
                     double y2)
Specified by:
setCurve in class QuadCurve2D

setCurve

public void setCurve(float x1,
                     float y1,
                     float ctrlx,
                     float ctrly,
                     float x2,
                     float y2)

getBounds2D

public Rectangle2D getBounds2D()


Copyright © 2013. All Rights Reserved.