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 Shape
Shape
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)
Copyright © 2012. All Rights Reserved.