The Essential JViews Framework > Graphic Objects > Geometric Properties > Testing Whether a Point is Part of an Object Shape

The method contains is called by interactors to check whether a point is part of an object shape.

public boolean contains(IlvPoint p, IlvPoint tp, IlvTransformer t)

The default implementation of this method checks whether the specified point lies inside the bounding rectangle of the object. You may override this method so that it returns false for the transparent area of your object.