| The Essential JViews Framework > Graphic Objects > Geometric Properties > Testing Whether a Point is Part of an Object Shape |
Testing Whether a Point is Part of an Object Shape |
INDEX
PREVIOUS
NEXT
|
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.
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |