public class TLcdSLDInterpolate extends TLcdSLDFunction
Modifier and Type | Class and Description |
---|---|
static class |
TLcdSLDInterpolate.Method
The interpolation method.
|
static class |
TLcdSLDInterpolate.Mode
The interpolation mode.
|
Constructor and Description |
---|
TLcdSLDInterpolate()
Default Constructor
|
TLcdSLDInterpolate(TLcdDataType aType)
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
List<TLcdSLDInterpolationPoint> |
getInterpolationPoint()
Returns the value of the property that maps to the
InterpolationPoint element. |
TLcdSLDParameterValue |
getLookupValue()
Returns the value of the property that maps to the
LookupValue element. |
TLcdSLDInterpolate.Method |
getMethod()
Returns the value of the property that maps to the
method attribute. |
TLcdSLDInterpolate.Mode |
getMode()
Returns the value of the property that maps to the
mode attribute. |
void |
setLookupValue(TLcdSLDParameterValue aValue)
Sets the value of the property that maps to the
LookupValue element. |
void |
setMethod(TLcdSLDInterpolate.Method aValue)
Sets the value of the property that maps to the
method attribute. |
void |
setMode(TLcdSLDInterpolate.Mode aValue)
Sets the value of the property that maps to the
mode attribute. |
getFallbackValue, setFallbackValue
public TLcdSLDInterpolate()
public TLcdSLDInterpolate(TLcdDataType aType)
public TLcdSLDInterpolate.Method getMethod()
method
attribute.
The interpolation method which can be either numeric
or color
.
METHOD_PROPERTY
property.public void setMethod(TLcdSLDInterpolate.Method aValue)
method
attribute.
The interpolation method which can be either numeric
or color
.
aValue
- the value to set for the METHOD_PROPERTY
property.public TLcdSLDInterpolate.Mode getMode()
mode
attribute.MODE_PROPERTY
property.public void setMode(TLcdSLDInterpolate.Mode aValue)
mode
attribute.aValue
- the value to set for the MODE_PROPERTY
property.public TLcdSLDParameterValue getLookupValue()
LookupValue
element.
The lookup value is the input to the function, and is usually dependent on the object that is being styled.
LOOKUP_VALUE_PROPERTY
property.public void setLookupValue(TLcdSLDParameterValue aValue)
LookupValue
element.
The lookup value is the input to the function, and is usually dependent on the object that is being styled.
aValue
- the value to set for the LOOKUP_VALUE_PROPERTY
property.public List<TLcdSLDInterpolationPoint> getInterpolationPoint()
InterpolationPoint
element.
An InterpolationPoint defines a correspondence between the LookupValues and the transformed values.
The InterpolationPoints have to be specified in ascending order of Data. They define a graph of points. LookupValues less than the Data value of the first InterpolationPoint are mapped to its corresponding Value. Accordingly, LookupValues greater than the Data value of the last InterpolationPoint are mapped to the Value of this one. LookupValues between two or more InterpolationPoints are interpolated between the corresponding Values according to a given Mode.INTERPOLATION_POINT_PROPERTY
property.