use of org.geotoolkit.style.MutableStyleFactory in project geotoolkit by Geomatys.
the class IntervalStyleBuilder method createLineTemplate.
public static LineSymbolizer createLineTemplate() {
final MutableStyleFactory sf = GO2Utilities.STYLE_FACTORY;
final FilterFactory ff = GO2Utilities.FILTER_FACTORY;
final Stroke stroke = sf.stroke(Color.BLUE, 2);
return sf.lineSymbolizer(stroke, null);
}
use of org.geotoolkit.style.MutableStyleFactory in project geotoolkit by Geomatys.
the class IntervalStyleBuilder method createPolygonTemplate.
public static PolygonSymbolizer createPolygonTemplate() {
final MutableStyleFactory sf = GO2Utilities.STYLE_FACTORY;
final FilterFactory ff = GO2Utilities.FILTER_FACTORY;
final Stroke stroke = sf.stroke(Color.BLACK, 1);
final Fill fill = sf.fill(Color.BLUE);
return sf.polygonSymbolizer(stroke, fill, null);
}
Aggregations