Package com.itextpdf.awt.geom
Class RectangularShape
java.lang.Object
com.itextpdf.awt.geom.RectangularShape
- Direct Known Subclasses:
Rectangle2D
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanbooleancontains(Rectangle2D rect) doubledoublegetFrame()abstract doubledoublegetMaxX()doublegetMaxY()doublegetMinX()doublegetMinY()getPathIterator(AffineTransform t, double flatness) abstract doublegetWidth()abstract doublegetX()abstract doublegetY()booleanintersects(Rectangle2D rect) abstract booleanisEmpty()abstract voidsetFrame(double x, double y, double w, double h) voidsetFrame(Point2D loc, Dimension2D size) voidvoidsetFrameFromCenter(double centerX, double centerY, double cornerX, double cornerY) voidsetFrameFromCenter(Point2D center, Point2D corner) voidsetFrameFromDiagonal(double x1, double y1, double x2, double y2) voidsetFrameFromDiagonal(Point2D p1, Point2D p2) Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.itextpdf.awt.geom.Shape
contains, contains, getBounds2D, getPathIterator, intersects
-
Constructor Details
-
RectangularShape
protected RectangularShape()
-
-
Method Details
-
getX
public abstract double getX() -
getY
public abstract double getY() -
getWidth
public abstract double getWidth() -
getHeight
public abstract double getHeight() -
isEmpty
public abstract boolean isEmpty() -
setFrame
public abstract void setFrame(double x, double y, double w, double h) -
getMinX
public double getMinX() -
getMinY
public double getMinY() -
getMaxX
public double getMaxX() -
getMaxY
public double getMaxY() -
getCenterX
public double getCenterX() -
getCenterY
public double getCenterY() -
getFrame
-
setFrame
-
setFrame
-
setFrameFromDiagonal
public void setFrameFromDiagonal(double x1, double y1, double x2, double y2) -
setFrameFromDiagonal
-
setFrameFromCenter
public void setFrameFromCenter(double centerX, double centerY, double cornerX, double cornerY) -
setFrameFromCenter
-
contains
-
intersects
- Specified by:
intersectsin interfaceShape
-
contains
-
getBounds
-
getPathIterator
- Specified by:
getPathIteratorin interfaceShape
-
clone
-