On Monday 22 October 2001 14:06, Micha? Piotrowski wrote:

> How can I write own mouse hit detector for my extension without
> rewriting org.apache.batik.gvt.ShapeNode? Is it possible or the only
> way is to rewrite method 'contains()' in class ShapeNode?

You have a setGraphicsNodeHitDetector method on GraphicsNode. Though this 
part of the API has not been really tested (we don't support the 
pointer-event property yet) - you should be able to do things by setting your 
own GraphicsNodeHitDetector implementation.


Thierry.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to