public class TLcdSLDPolygonSymbolizer extends ALcdSLDSymbolizer
Modifier and Type | Class and Description |
---|---|
static class |
TLcdSLDPolygonSymbolizer.Builder<T>
A builder for SLD polygon symbolizers.
|
Constructor and Description |
---|
TLcdSLDPolygonSymbolizer()
Empty constructor.
|
TLcdSLDPolygonSymbolizer(TLcdDataType aDataType)
Empty constructor.
|
TLcdSLDPolygonSymbolizer(TLcdSLDStroke aStroke,
TLcdSLDFill aFill,
TLcdSLDGeometry aGeometry)
Constructor for given stroke, fill and geometry.
|
Modifier and Type | Method and Description |
---|---|
TLcdSLDFill |
getFill()
Returns the value of the property that maps to the
Fill element. |
TLcdSLDGeometry |
getGeometry()
Returns the value of the property that maps to the
Geometry element. |
TLcdSLDParameterValue |
getPerpendicularOffset()
Returns the value of the property that maps to the
PerpendicularOffset element. |
TLcdSLDStroke |
getStroke()
Returns the value of the property that maps to the
Stroke element. |
List<TLcdSLDVendorOption> |
getVendorOptions()
Returns the value of the property that maps to the
VendorOption element. |
static TLcdSLDPolygonSymbolizer.Builder<TLcdSLDPolygonSymbolizer> |
newBuilder()
Creates a new builder with the default values.
|
void |
setFill(TLcdSLDFill aValue)
Sets the value of the property that maps to the
Fill element. |
void |
setGeometry(TLcdSLDGeometry aValue)
Sets the value of the property that maps to the
Geometry element. |
void |
setPerpendicularOffset(TLcdSLDParameterValue aValue)
Sets the value of the property that maps to the
PerpendicularOffset element. |
void |
setStroke(TLcdSLDStroke aValue)
Sets the value of the property that maps to the
Stroke element. |
getDescription, getName, getUom, getVersion, setDescription, setName, setUom, setVersion, toString
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
public TLcdSLDPolygonSymbolizer()
public TLcdSLDPolygonSymbolizer(TLcdSLDStroke aStroke, TLcdSLDFill aFill, TLcdSLDGeometry aGeometry)
aStroke
- the given stroke.aFill
- the given fill.aGeometry
- the given geometry.public TLcdSLDPolygonSymbolizer(TLcdDataType aDataType)
public static TLcdSLDPolygonSymbolizer.Builder<TLcdSLDPolygonSymbolizer> newBuilder()
public TLcdSLDGeometry getGeometry()
Geometry
element.
A Geometry gives reference to a (the) geometry property of a feature to be used for rendering. The geometry is optional and may thus be null. If null, the default geometry of an object should be rendered with a stroke. E.g. when a ILcdModel contains ILcdShape objects, the geometry may be null as the object itself is a geometry.
GEOMETRY_PROPERTY
property.public void setGeometry(TLcdSLDGeometry aValue)
Geometry
element.
A Geometry gives reference to a (the) geometry property of a feature to be used for rendering. The geometry is optional and may thus be null. If null, the default geometry of an object should be rendered with a stroke. E.g. when a ILcdModel contains ILcdShape objects, the geometry may be null as the object itself is a geometry.
aValue
- the value to set for the GEOMETRY_PROPERTY
property.public TLcdSLDFill getFill()
Fill
element.
A "Fill" specifies the pattern for filling an area geometry. The allowed CssParameters are: "fill" (color) and "fill-opacity".
FILL_PROPERTY
property.public void setFill(TLcdSLDFill aValue)
Fill
element.
A "Fill" specifies the pattern for filling an area geometry. The allowed CssParameters are: "fill" (color) and "fill-opacity".
aValue
- the value to set for the FILL_PROPERTY
property.public TLcdSLDStroke getStroke()
Stroke
element.
The stroke is optional and may thus be null.
STROKE_PROPERTY
property.public void setStroke(TLcdSLDStroke aValue)
Stroke
element.
The stroke is optional and may thus be null.
aValue
- the value to set for the STROKE_PROPERTY
property.public TLcdSLDParameterValue getPerpendicularOffset()
PerpendicularOffset
element.
A "PerpendicularOffset" specifies a perpendicular distance away from a line before rendering.
PERPENDICULAR_OFFSET_PROPERTY
property.public void setPerpendicularOffset(TLcdSLDParameterValue aValue)
PerpendicularOffset
element.
A "PerpendicularOffset" specifies a perpendicular distance away from a line before rendering.
aValue
- the value to set for the PERPENDICULAR_OFFSET_PROPERTY
property.public List<TLcdSLDVendorOption> getVendorOptions()
VendorOption
element.VENDOR_OPTION_PROPERTY
property.