Transparent, clickable graphics
Posted: Thu Feb 19, 2009 9:53 pm
I need to create graphics (polygons, rectangles, ovals, etc) that are transparent, but can register mouse events anywhere in their area (the area that would be filled, if there was a fill).
My experience is that when the opaque property is set to true the graphic is selectable this way, but it has a fill color and when the opaque property is set to false, the graphic is only selectable on its lines.
How do I get around that?
What am I missing? It seems like a simple feature to expect, but I don't see it.
Currently I am using this to provide clickable hot spots over large images, but will want to use it on cards with only graphics as well.
Thanks in advance,
Alex
My experience is that when the opaque property is set to true the graphic is selectable this way, but it has a fill color and when the opaque property is set to false, the graphic is only selectable on its lines.
How do I get around that?
What am I missing? It seems like a simple feature to expect, but I don't see it.
Currently I am using this to provide clickable hot spots over large images, but will want to use it on cards with only graphics as well.
Thanks in advance,
Alex