public abstract class AbstractShapeController extends java.lang.Object implements VPShapeController
Constructor and Description |
---|
AbstractShapeController() |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int x,
int y,
VPShapeInfo aShapeInfo)
Check whether the location is inside the shape, used to check what is selected by the user.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
drawShape
public boolean contains(int x, int y, VPShapeInfo aShapeInfo)
VPShapeController
contains
in interface VPShapeController
x
- x-location, relative to x-location of shape.y
- y-location, relative to y-location of shape.