com.itextpdf.awt.geom
Class Rectangle2D.Float
java.lang.Object
com.itextpdf.awt.geom.RectangularShape
com.itextpdf.awt.geom.Rectangle2D
com.itextpdf.awt.geom.Rectangle2D.Float
- All Implemented Interfaces:
- Shape, Cloneable
- Enclosing class:
- Rectangle2D
public static class Rectangle2D.Float
- extends Rectangle2D
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 |
x
public float x
y
public float y
width
public float width
height
public float height
Rectangle2D.Float
public Rectangle2D.Float()
Rectangle2D.Float
public Rectangle2D.Float(float x,
float y,
float width,
float height)
getX
public double getX()
- Specified by:
getX
in class RectangularShape
getY
public double getY()
- Specified by:
getY
in class RectangularShape
getWidth
public double getWidth()
- Specified by:
getWidth
in class RectangularShape
getHeight
public double getHeight()
- Specified by:
getHeight
in class RectangularShape
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in class RectangularShape
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:
setRect
in class Rectangle2D
setRect
public void setRect(Rectangle2D r)
- Overrides:
setRect
in class Rectangle2D
outcode
public int outcode(double px,
double py)
- Specified by:
outcode
in class Rectangle2D
getBounds2D
public Rectangle2D getBounds2D()
- Specified by:
getBounds2D
in interface Shape
- Overrides:
getBounds2D
in class Rectangle2D
createIntersection
public Rectangle2D createIntersection(Rectangle2D r)
- Specified by:
createIntersection
in class Rectangle2D
createUnion
public Rectangle2D createUnion(Rectangle2D r)
- Specified by:
createUnion
in class Rectangle2D
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012. All Rights Reserved.