Package com.itextpdf.awt.geom
Class Rectangle2D.Double
java.lang.Object
com.itextpdf.awt.geom.RectangularShape
com.itextpdf.awt.geom.Rectangle2D
com.itextpdf.awt.geom.Rectangle2D.Double
- Enclosing class:
Rectangle2D
-
Nested Class Summary
Nested classes/interfaces inherited from class com.itextpdf.awt.geom.Rectangle2D
Rectangle2D.Double, Rectangle2D.Float, Rectangle2D.Iterator -
Field Summary
FieldsFields inherited from class com.itextpdf.awt.geom.Rectangle2D
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.itextpdf.awt.geom.Rectangle2D
add, add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, unionMethods inherited from class com.itextpdf.awt.geom.RectangularShape
clone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
-
Field Details
-
x
public double x -
y
public double y -
width
public double width -
height
public double height
-
-
Constructor Details
-
Double
public Double() -
Double
public Double(double x, double y, double width, double height)
-
-
Method Details
-
getX
public double getX()- Specified by:
getXin classRectangularShape
-
getY
public double getY()- Specified by:
getYin classRectangularShape
-
getWidth
public double getWidth()- Specified by:
getWidthin classRectangularShape
-
getHeight
public double getHeight()- Specified by:
getHeightin classRectangularShape
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin classRectangularShape
-
setRect
public void setRect(double x, double y, double width, double height) - Specified by:
setRectin classRectangle2D
-
setRect
- Overrides:
setRectin classRectangle2D
-
outcode
public int outcode(double px, double py) - Specified by:
outcodein classRectangle2D
-
getBounds2D
- Specified by:
getBounds2Din interfaceShape- Overrides:
getBounds2Din classRectangle2D
-
createIntersection
- Specified by:
createIntersectionin classRectangle2D
-
createUnion
- Specified by:
createUnionin classRectangle2D
-
toString
-