Class Rectangle2D.Float
java.lang.Object
com.itextpdf.awt.geom.RectangularShape
com.itextpdf.awt.geom.Rectangle2D
com.itextpdf.awt.geom.Rectangle2D.Float
- Enclosing class:
Rectangle2D
-
Nested Class Summary
Nested classes/interfaces inherited from class Rectangle2D
Rectangle2D.Double, Rectangle2D.Float, Rectangle2D.Iterator -
Field Summary
FieldsFields inherited from class Rectangle2D
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Rectangle2D
add, add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, unionMethods inherited from class RectangularShape
clone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
-
Field Details
-
x
public float x -
y
public float y -
width
public float width -
height
public float height
-
-
Constructor Details
-
Float
public Float() -
Float
public Float(float x, float y, float width, float 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(float x, float y, float width, float height) -
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
-