Class TLcdSLDTextSymbolizer
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder for SLD text symbolizers. -
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor.TLcdSLDTextSymbolizer(TLcdDataType aDataType) Empty constructor.TLcdSLDTextSymbolizer(TLcdSLDGeometry aGeometry, TLcdSLDParameterValue aLabel, TLcdSLDFont aFont, TLcdSLDLabelPlacement aLabelPlacement, TLcdSLDHalo aHalo, TLcdSLDFill aFill) Constructor for given parameters. -
Method Summary
Modifier and TypeMethodDescriptiongetFill()Returns the value of the property that maps to theFillelement.getFont()Returns the value of the property that maps to theFontelement.Returns the value of the property that maps to theGeometryelement.Returns the value of the property that maps to theGraphicelement.getHalo()Returns the value of the property that maps to theHaloelement.getLabel()Returns the value of the property that maps to theLabelelement.Returns the value of the property that maps to theLabelPlacementelement.Returns the value of the property that maps to theVendorOptionelement.Creates a new builder with the default values.voidsetFill(TLcdSLDFill aValue) Sets the value of the property that maps to theFillelement.voidsetFont(TLcdSLDFont aValue) Sets the value of the property that maps to theFontelement.voidsetGeometry(TLcdSLDGeometry aValue) Sets the value of the property that maps to theGeometryelement.voidsetGraphic(TLcdSLDGraphic aValue) Sets the value of the property that maps to theGraphicelement.voidsetHalo(TLcdSLDHalo aValue) Sets the value of the property that maps to theHaloelement.voidsetLabel(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theLabelelement.voidSets the value of the property that maps to theLabelPlacementelement.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
-
TLcdSLDTextSymbolizer
public TLcdSLDTextSymbolizer()Empty constructor. -
TLcdSLDTextSymbolizer
public TLcdSLDTextSymbolizer(TLcdSLDGeometry aGeometry, TLcdSLDParameterValue aLabel, TLcdSLDFont aFont, TLcdSLDLabelPlacement aLabelPlacement, TLcdSLDHalo aHalo, TLcdSLDFill aFill) Constructor for given parameters.- Parameters:
aGeometry- the given geometry.aLabel- the given label.aFont- the given font.aLabelPlacement- the given label placement.aHalo- the given halo.aFill- the given fill.
-
TLcdSLDTextSymbolizer
Empty constructor.
-
-
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.
-
getLabel
Returns the value of the property that maps to theLabelelement.A "Label" specifies the textual content to be rendered. Null is allowed.
- Returns:
- the value of the
LABEL_PROPERTYproperty.
-
setLabel
Sets the value of the property that maps to theLabelelement.A "Label" specifies the textual content to be rendered. Null is allowed.
- Parameters:
aValue- the value to set for theLABEL_PROPERTYproperty.
-
getFont
Returns the value of the property that maps to theFontelement.A "Font" element specifies the text font to use. The allowed CssParameters are: "font-family", "font-style", "font-weight", and "font-size".
- Returns:
- the value of the
FONT_PROPERTYproperty.
-
setFont
Sets the value of the property that maps to theFontelement.A "Font" element specifies the text font to use. The allowed CssParameters are: "font-family", "font-style", "font-weight", and "font-size".
- Parameters:
aValue- the value to set for theFONT_PROPERTYproperty.
-
getLabelPlacement
Returns the value of the property that maps to theLabelPlacementelement.The "LabelPlacement" specifies where and how a text label should be rendered relative to a geometry. The present mechanism is poorly aligned with CSS/SVG.
- Returns:
- the value of the
LABEL_PLACEMENT_PROPERTYproperty.
-
setLabelPlacement
Sets the value of the property that maps to theLabelPlacementelement.The "LabelPlacement" specifies where and how a text label should be rendered relative to a geometry. The present mechanism is poorly aligned with CSS/SVG.
- Parameters:
aValue- the value to set for theLABEL_PLACEMENT_PROPERTYproperty.
-
getHalo
Returns the value of the property that maps to theHaloelement.A "Halo" fills an extended area outside the glyphs of a rendered text label to make the label easier to read over a background.
- Returns:
- the value of the
HALO_PROPERTYproperty.
-
setHalo
Sets the value of the property that maps to theHaloelement.A "Halo" fills an extended area outside the glyphs of a rendered text label to make the label easier to read over a background.
- Parameters:
aValue- the value to set for theHALO_PROPERTYproperty.
-
getFill
Returns the value of the property that maps to theFillelement.A "Fill" specifies the pattern for filling an area geometry. The allowed CssParameters are: "fill" (color) and "fill-opacity".
- Returns:
- the value of the
FILL_PROPERTYproperty.
-
setFill
Sets the value of the property that maps to theFillelement.A "Fill" specifies the pattern for filling an area geometry. The allowed CssParameters are: "fill" (color) and "fill-opacity".
- Parameters:
aValue- the value to set for theFILL_PROPERTYproperty.
-
getGraphic
Returns the value of the property that maps to theGraphicelement.A "Graphic" specifies or refers to a "graphic symbol" with inherent shape, size, and coloring.
- Returns:
- the value of the
GRAPHIC_PROPERTYproperty.
-
setGraphic
Sets the value of the property that maps to theGraphicelement.A "Graphic" specifies or refers to a "graphic symbol" with inherent shape, size, and coloring.
- Parameters:
aValue- the value to set for theGRAPHIC_PROPERTYproperty.
-
getVendorOptions
Returns the value of the property that maps to theVendorOptionelement.- Returns:
- the value of the
VENDOR_OPTION_PROPERTYproperty.
-