Class TLcdSLDLineSymbolizer
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A builder for SLD line symbolizers. -
Constructor Summary
ConstructorDescriptionConstructs 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. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to theGeometry
element.Returns the value of the property that maps to thePerpendicularOffset
element.Returns the value of the property that maps to theStroke
element.Returns the value of the property that maps to theVendorOption
element.Creates a new builder with the default values.void
setGeometry
(TLcdSLDGeometry aValue) Sets the value of the property that maps to theGeometry
element.void
Sets the value of the property that maps to thePerpendicularOffset
element.void
setStroke
(TLcdSLDStroke aValue) Sets the value of the property that maps to theStroke
element.Methods inherited from class com.luciad.ogc.sld.model.ALcdSLDSymbolizer
getDescription, getName, getUom, getVersion, setDescription, setName, setUom, setVersion, toString
Methods inherited from class com.luciad.datamodel.TLcdDataObject
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
-
Constructor Details
-
TLcdSLDLineSymbolizer
public TLcdSLDLineSymbolizer()Constructs a line symbolizer. If the stroke is not set later, nothing should be rendered. -
TLcdSLDLineSymbolizer
Constructs a line symbolizer with a given stroke and geometry.- Parameters:
aGeometry
- the geometry to render.aStroke
- the stroke to use to render the geometry, may be null in which case nothing should be rendered.
-
TLcdSLDLineSymbolizer
Constructs a line symbolizer. If the stroke is not set later, nothing should be rendered.
-
-
Method Details
-
newBuilder
Creates a new builder with the default values.- Returns:
- the new builder.
- Since:
- 2012.1
-
getGeometry
Returns the value of the property that maps to theGeometry
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.
- Returns:
- the value of the
GEOMETRY_PROPERTY
property.
-
setGeometry
Sets the value of the property that maps to theGeometry
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.
- Parameters:
aValue
- the value to set for theGEOMETRY_PROPERTY
property.
-
getStroke
Returns the value of the property that maps to theStroke
element.The stroke is optional and may thus be null.
- Returns:
- the value of the
STROKE_PROPERTY
property.
-
setStroke
Sets the value of the property that maps to theStroke
element.The stroke is optional and may thus be null.
- Parameters:
aValue
- the value to set for theSTROKE_PROPERTY
property.
-
getPerpendicularOffset
Returns the value of the property that maps to thePerpendicularOffset
element.A "PerpendicularOffset" specifies a perpendicular distance away from a line before rendering.
- Returns:
- the value of the
PERPENDICULAR_OFFSET_PROPERTY
property.
-
setPerpendicularOffset
Sets the value of the property that maps to thePerpendicularOffset
element.A "PerpendicularOffset" specifies a perpendicular distance away from a line before rendering.
- Parameters:
aValue
- the value to set for thePERPENDICULAR_OFFSET_PROPERTY
property.
-
getVendorOptions
Returns the value of the property that maps to theVendorOption
element.- Returns:
- the value of the
VENDOR_OPTION_PROPERTY
property.
-