java.lang.Object
org.jhotdraw8.geom.shape.EmptyShape
- All Implemented Interfaces:
Shape
An immutable empty shape.
-
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) boolean
-
Constructor Details
-
EmptyShape
public EmptyShape()
-
-
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
-
getPathIterator
- Specified by:
getPathIteratorin interfaceShape
-