public class TLcdSLDShadedRelief extends TLcdDataObject
Constructor and Description |
---|
TLcdSLDShadedRelief()
Empty constructor.
|
TLcdSLDShadedRelief(boolean aIsBrightnessOnly,
double aReliefFactor)
Constructor for given parameters.
|
TLcdSLDShadedRelief(TLcdDataType aDataType)
Empty constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getReliefFactor()
Returns the value of the property that maps to the
ReliefFactor element. |
boolean |
isBrightnessOnly()
Returns the value of the property that maps to the
BrightnessOnly element. |
void |
setBrightnessOnly(boolean aValue)
Sets the value of the property that maps to the
BrightnessOnly element. |
void |
setReliefFactor(double aValue)
Sets the value of the property that maps to the
ReliefFactor element. |
public TLcdSLDShadedRelief()
public TLcdSLDShadedRelief(boolean aIsBrightnessOnly, double aReliefFactor)
aIsBrightnessOnly
- the given brightness only flag.aReliefFactor
- the given relief factor.public TLcdSLDShadedRelief(TLcdDataType aDataType)
public boolean isBrightnessOnly()
BrightnessOnly
element.
If the BrightnessOnly flag is false, the shading is applied to the layer being rendered as the current RasterSymbol. If BrightnessOnly is true, the shading is applied to the brightness of the colors in the rendering canvas generated so far by other layers, with the effect of relief-shading these other layers. The default for BrightnessOnly is false.
BRIGHTNESS_ONLY_PROPERTY
property.public void setBrightnessOnly(boolean aValue)
BrightnessOnly
element.
If the BrightnessOnly flag is false, the shading is applied to the layer being rendered as the current RasterSymbol. If BrightnessOnly is true, the shading is applied to the brightness of the colors in the rendering canvas generated so far by other layers, with the effect of relief-shading these other layers. The default for BrightnessOnly is false.
aValue
- the value to set for the BRIGHTNESS_ONLY_PROPERTY
property.public double getReliefFactor()
ReliefFactor
element.
The ReliefFactor gives the amount of exaggeration to use for the height of the "hills". Default value is 55 (as stated in the standard).
RELIEF_FACTOR_PROPERTY
property.public void setReliefFactor(double aValue)
ReliefFactor
element.
The ReliefFactor gives the amount of exaggeration to use for the height of the "hills". Default value is 55 (as stated in the standard).
aValue
- the value to set for the RELIEF_FACTOR_PROPERTY
property.