class Composite extends Symbolizer
A Composite is a Symbolizer that contains one of more Symbolizers. You can create a Composite by combining two Symbolizers:
Or you can create a Composite from a List of Symbolizers:def composite = new Fill("wheat") + new Stroke("brown")
def composite = new Composite([ new Fill("wheat"), new Stroke("brown") ])
Fields inherited from class | Fields |
---|---|
class Symbolizer |
filterFactory, styleBuilder, styleFactory, styleOptions |
Type | Name and description |
---|---|
java.util.List |
parts A List of Symbolizers |
Constructor and description |
---|
Composite
(Symbolizer symbolizer) Create a new Composite with a Symbolizer |
Composite
(java.util.List parts) Create a new Composite with a List of Symbolizers |
Type Params | Return Type | Name and description |
---|---|---|
|
Symbolizer |
range(double min, double max) Apply the min and max scale to this Composite |
|
java.lang.String |
toString() The String representation |
|
Symbolizer |
where(java.lang.Object filter) Apply the Filter or CQL statement to the Composite |
|
Symbolizer |
zindex(int z) Apply the zindex to this Composite |
Methods inherited from class | Name |
---|---|
class Symbolizer |
and, apply, asSLD, asSLD, buildString, composite, createGeoToolsSymbolizer, getDefault, getDefault, getGeoToolsSymbolizers, getGtStyle, getSld, plus, prepare, prepare, range, range, sortBy, sortBy, where, zindex |
Create a new Composite with a Symbolizer
symbolizer
- A SymbolizerCreate a new Composite with a List of Symbolizers
parts
- The List of SymbolizersApply the min and max scale to this Composite
min
- The min scale (defaults to -1)max
- The max scale (defaults to -1)The String representation
Apply the Filter or CQL statement to the Composite
filter
- A Filter of CQL statementApply the zindex to this Composite
z
- The zoom levelGroovy Documentation