01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2005-2006, GeoTools Project Managment Committee (PMC)
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation;
09: * version 2.1 of the License.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: */
16: package org.geotools.styling;
17:
18: import org.opengis.filter.expression.Expression;
19:
20: /**
21: * Abstract base class for implementing style factories.
22: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/library/api/src/main/java/org/geotools/styling/StyleFactory2.java $
23: */
24: public interface StyleFactory2 extends StyleFactory {
25: /**
26: * Label Shield hack, non SLD 1.1
27: *
28: * @param fill Fill
29: * @param fonts Font information (CSS)
30: * @param halo Describes Halo
31: * @param label Expression for label
32: * @param labelPlacement Captures label position
33: * @param geometryPropertyName With respect to this geometry
34: * @param graphic Used to draw a backdrop behind label
35: *
36: * @return DOCUMENT ME!
37: */
38: public TextSymbolizer2 createTextSymbolizer(Fill fill,
39: Font[] fonts, Halo halo, Expression label,
40: LabelPlacement labelPlacement, String geometryPropertyName,
41: Graphic graphic);
42: }
|