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, union
Methods 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:
getX
in classRectangularShape
-
getY
public double getY()- Specified by:
getY
in classRectangularShape
-
getWidth
public double getWidth()- Specified by:
getWidth
in classRectangularShape
-
getHeight
public double getHeight()- Specified by:
getHeight
in classRectangularShape
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in classRectangularShape
-
setRect
public void setRect(double x, double y, double width, double height) - Specified by:
setRect
in classRectangle2D
-
setRect
- Overrides:
setRect
in classRectangle2D
-
outcode
public int outcode(double px, double py) - Specified by:
outcode
in classRectangle2D
-
getBounds2D
- Specified by:
getBounds2D
in interfaceShape
- Overrides:
getBounds2D
in classRectangle2D
-
createIntersection
- Specified by:
createIntersection
in classRectangle2D
-
createUnion
- Specified by:
createUnion
in classRectangle2D
-
toString
-