|
From: Martin D. <mar...@no...> - 2005-07-12 02:44:25
|
Michael Boeni a =E9crit : > One remaining thing: How can I influende the color of the shape and its > transparence and such? I would also like to fine tune the > position/color/background of the label. Overrides methods in MarkIterator; they are there for that. http://modules.geotools.org/migrate/apidocs/org/geotools/renderer/j2d/Mar= kIterator.html Example: - For changing the color and transparency, override markPaint(). E.g.: public Paint markPaint() { return Color.ORANGE; } - for changing the shape, override markShape(). E.g.: private static final Shape MARK =3D new Ellipsoid2D.Float(-3,-3,6,6= ); public Shape markShape() { return MARK; } etc. Martin. |