|
From: Manuele V. <man...@ov...> - 2007-03-22 15:43:12
|
Hi all,
Using marks, I found that there is a kind of mark named TextMark.
For me it will be useful, because I have to use more than 7 symbols and
I would that they are quite different one to each other.
I know that I can use images, but text based symbols have better
performances.
I tried to use TextMarkImpl directly but it has no effect: it shows
always a square.
The code is something like following:
Font font = stylebuilder.createFont("Arial",12);
Mark mark = new TextMarkImpl(font,"A");
Graphic graph =
stylebuilder.createGraphic(null,mark,null,opacity,size,rotation);
Symbolizer symb = stylebuilder.createPointSymbolizer(graph);
Could anybody help me?
Bye,
Manuele
|