java.lang.Object
org.jhotdraw8.geom.AbstractShape
- All Implemented Interfaces:
Shape
- Direct Known Subclasses:
SimplePathMetrics
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(double x, double y) booleancontains(double x, double y, double w, double h) booleanbooleangetPathIterator(AffineTransform at, double flatness) booleanintersects(double x, double y, double w, double h) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.awt.Shape
getPathIterator
-
Constructor Details
-
AbstractShape
public AbstractShape()
-
-
Method Details
-
getBounds
-
getBounds2D
- Specified by:
getBounds2Din interfaceShape
-
contains
public boolean contains(double x, double y) -
contains
-
intersects
public boolean intersects(double x, double y, double w, double h) - Specified by:
intersectsin interfaceShape
-
intersects
- Specified by:
intersectsin interfaceShape
-
contains
public boolean contains(double x, double y, double w, double h) -
contains
-
getPathIterator
- Specified by:
getPathIteratorin interfaceShape
-