Methods Summary |
---|
public boolean | contains(double x, double y)Checks whether or not the point with specified coordinates lies inside
the Shape.
|
public boolean | contains(double x, double y, double w, double h)Checks whether or not the rectangle with specified [x, y, width, height]
parameters lies inside the Shape.
|
public boolean | contains(java.awt.geom.Point2D point)Checks whether or not the specified Point2D lies inside the Shape.
|
public boolean | contains(java.awt.geom.Rectangle2D r)Checks whether or not the specified rectangle lies inside the Shape.
|
public java.awt.Rectangle | getBounds()Gets the bounding rectangle of the Shape. The bounding rectangle is the
smallest rectangle which contains the Shape.
|
public java.awt.geom.Rectangle2D | getBounds2D()Gets the Rectangle2D which represents Shape bounds. The bounding
rectangle is the smallest rectangle which contains the Shape.
|
public java.awt.geom.PathIterator | getPathIterator(java.awt.geom.AffineTransform at)Gets the PathIterator object of the Shape which provides access to the
shape's boundary modified by the specified AffineTransform.
|
public java.awt.geom.PathIterator | getPathIterator(java.awt.geom.AffineTransform at, double flatness)Gets the PathIterator object of the Shape which provides access to the
coordinates of the shapes boundary modified by the specified
AffineTransform. The flatness parameter defines the amount of subdivision
of the curved segments and specifies the maximum distance which every
point on the unflattened transformed curve can deviate from the returned
flattened path segments.
|
public boolean | intersects(java.awt.geom.Rectangle2D r)Checks whether or not the interior of rectangle specified by Rectangle2D
object intersects the interior of the Shape.
|
public boolean | intersects(double x, double y, double w, double h)Checks whether or not the interior of rectangular specified by [x, y,
width, height] parameters intersects the interior of the Shape.
|