| Hi Jody, In fact, I have to draw a grid. Each segment of the grid is displayed in a different color, representing the depth of the water at a given point. To make it more readable, I also have to be able to display the value of the depth of each grid segments. (see attached file) For vertical segments, it works very well : the text is displayed at the right of the segment, vertically centered with respect to the segment. For horizontal segments, however, the text is not placed correctly : it is centered vertically, making it overlaying the line and it is not centered horizontaly (even though the anchor point is centered). As you can see, I also have more digits displayed than necessary. I just need 2 digits after the dot. ![]() Le 23 févr. 09 à 06:15, Jody Garnett a écrit : The style visitor is there to go over all the elements in a style data structure (so you do not have to use get methods so much). Benoît Thiébault Société Artenum 24 rue Louis Blanc, 75010 Paris tel: +33 (0)1 46 94 67 54 Artenum - Science & Groupware - http://www.artenum.com |
------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
_______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

