org.apache.batik.gvt
Interface GraphicsNodeHitDetector
- public interface GraphicsNodeHitDetector
The interface for doing hit detection on graphics nodes..
Method Summary |
boolean |
isHit(GraphicsNode target,
java.awt.geom.Point2D p)
Returns true if the specified node is sensitive to events at point p,
false otherwise. |
isHit
public boolean isHit(GraphicsNode target,
java.awt.geom.Point2D p)
- Returns true if the specified node is sensitive to events at point p,
false otherwise.
- Parameters:
node
- the targetted nodep
- the point to check
Copyright © 2001 Apache Software Foundation. All Rights Reserved.