hei, i have problem to apply displacement to Graphic.

it is my example:

Graphic graph2 =  sb.createGraphic(null, circle, null, 1, 15, 0);

                DisplacementImpl offset = new DisplacementImpl();
                offset.setDisplacementX(filterFactory.literal(5));
                offset.setDisplacementY(filterFactory.literal(5));
                graph2.setDisplacement(offset);
                
                PointSymbolizer pointSymbolizer = 
sb.createPointSymbolizer(graph2);
                
                FeatureTypeStyle fts = sb.createFeatureTypeStyle(capaEstilo,
                                new Symbolizer[] { pointSymbolizer });

i render the point and not apply the displacement.

thanks.
-- 
View this message in context: 
http://n2.nabble.com/how-Displacement-to-Graphic-tp2202892p2202892.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to