public class TLcdSLDLineSymbolizer extends ALcdSLDSymbolizer
Modifier and Type | Class and Description |
---|---|
static class |
TLcdSLDLineSymbolizer.Builder<T>
A builder for SLD line symbolizers.
|
Constructor and Description |
---|
TLcdSLDLineSymbolizer()
Constructs a line symbolizer.
|
TLcdSLDLineSymbolizer(TLcdDataType aDataType)
Constructs a line symbolizer.
|
TLcdSLDLineSymbolizer(TLcdSLDGeometry aGeometry,
TLcdSLDStroke aStroke)
Constructs a line symbolizer with a given stroke and geometry.
|
Modifier and Type | Method and Description |
---|---|
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 TLcdSLDLineSymbolizer.Builder<TLcdSLDLineSymbolizer> |
newBuilder()
Creates a new builder with the default values.
|
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 TLcdSLDLineSymbolizer()
public TLcdSLDLineSymbolizer(TLcdSLDGeometry aGeometry, TLcdSLDStroke aStroke)
aStroke
- the stroke to use to render the geometry, may be null in which case nothing should be rendered.aGeometry
- the geometry to render.public TLcdSLDLineSymbolizer(TLcdDataType aDataType)
public static TLcdSLDLineSymbolizer.Builder<TLcdSLDLineSymbolizer> 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 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.