Class TLcdSLDLineSymbolizer
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder for SLD line symbolizers. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs 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 theGeometryelement.Returns the value of the property that maps to thePerpendicularOffsetelement.Returns the value of the property that maps to theStrokeelement.Returns the value of the property that maps to theVendorOptionelement.Creates a new builder with the default values.voidsetGeometry(TLcdSLDGeometry aValue) Sets the value of the property that maps to theGeometryelement.voidSets the value of the property that maps to thePerpendicularOffsetelement.voidsetStroke(TLcdSLDStroke aValue) Sets the value of the property that maps to theStrokeelement.Methods inherited from class com.luciad.ogc.sld.model.ALcdSLDSymbolizer
getDescription, getName, getUom, getVersion, setDescription, setName, setUom, setVersion, toStringMethods 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 theGeometryelement.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_PROPERTYproperty.
-
setGeometry
Sets the value of the property that maps to theGeometryelement.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_PROPERTYproperty.
-
getStroke
Returns the value of the property that maps to theStrokeelement.The stroke is optional and may thus be null.
- Returns:
- the value of the
STROKE_PROPERTYproperty.
-
setStroke
Sets the value of the property that maps to theStrokeelement.The stroke is optional and may thus be null.
- Parameters:
aValue- the value to set for theSTROKE_PROPERTYproperty.
-
getPerpendicularOffset
Returns the value of the property that maps to thePerpendicularOffsetelement.A "PerpendicularOffset" specifies a perpendicular distance away from a line before rendering.
- Returns:
- the value of the
PERPENDICULAR_OFFSET_PROPERTYproperty.
-
setPerpendicularOffset
Sets the value of the property that maps to thePerpendicularOffsetelement.A "PerpendicularOffset" specifies a perpendicular distance away from a line before rendering.
- Parameters:
aValue- the value to set for thePERPENDICULAR_OFFSET_PROPERTYproperty.
-
getVendorOptions
Returns the value of the property that maps to theVendorOptionelement.- Returns:
- the value of the
VENDOR_OPTION_PROPERTYproperty.
-