Package com.itextpdf.awt.geom
Interface Shape
-
- All Known Implementing Classes:
CubicCurve2D,CubicCurve2D.Double,CubicCurve2D.Float,GeneralPath,Line2D,Line2D.Double,Line2D.Float,QuadCurve2D,QuadCurve2D.Double,QuadCurve2D.Float,Rectangle,Rectangle2D,Rectangle2D.Double,Rectangle2D.Float,RectangularShape
public interface ShapeShape
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancontains(double x, double y)booleancontains(double x, double y, double w, double h)booleancontains(Point2D point)booleancontains(Rectangle2D r)RectanglegetBounds()Rectangle2DgetBounds2D()PathIteratorgetPathIterator(AffineTransform at)PathIteratorgetPathIterator(AffineTransform at, double flatness)booleanintersects(double x, double y, double w, double h)booleanintersects(Rectangle2D r)
-
-
-
Method Detail
-
contains
boolean contains(double x, double y)
-
contains
boolean contains(double x, double y, double w, double h)
-
contains
boolean contains(Point2D point)
-
contains
boolean contains(Rectangle2D r)
-
getBounds
Rectangle getBounds()
-
getBounds2D
Rectangle2D getBounds2D()
-
getPathIterator
PathIterator getPathIterator(AffineTransform at)
-
getPathIterator
PathIterator getPathIterator(AffineTransform at, double flatness)
-
intersects
boolean intersects(double x, double y, double w, double h)
-
intersects
boolean intersects(Rectangle2D r)
-
-