You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Thomas DeWeese <Th...@Kodak.com> on 2005/05/11 03:36:32 UTC
Re: Changing cursor
Hi Hugues,
hugues parvillers wrote:
> I'm able to identify that I'm in the 5% width/height
> area near the border of the main map, but nothing
> exact happens to the cursor when I set
>
> myMainMap.mapSVG.setAttributeNS(null,"cursor","move");
>
> The cursor changes randomly to the right appareance
> when moving on the map without correct reason ?
The cursor only changes when you are 'over' an element
with pointer events. The easiest thing to do would be
to add:
<rect x="0" y="0" width="100%" height="100%"
visibility="hidden" pointer-events="fill"/>
as the first child of your SVG element.
> Is there any artefact or trouble with the fact I'm
> still over the same object ? What is the exact
> condition (event ?) for the cursor to change of
> appareance ?
I don't think so... But I could be wrong.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org