Class TLspHypsometricShadingStyle
java.lang.Object
com.luciad.view.lightspeed.style.ALspStyle
com.luciad.tea.lightspeed.hypsometry.TLspHypsometricShadingStyle
- All Implemented Interfaces:
ILspStyler
Style for elevation data shaded based on a hypsometric computation.
Construction of a hypsometric shading style is done through the
Builder
design pattern mechanism.
These styles can be set on layers created using the layer builder
.- Since:
- 2012.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder for hypsometric shading styles. -
Method Summary
Modifier and TypeMethodDescriptionCreates a new builder initialized with all the properties of this style.boolean
Returns color that is used for hypsometric values that are unknown.int
hashCode()
boolean
Determines whether this style is transparent.static TLspHypsometricShadingStyle.Builder
<?> Creates a new builder with the default values.Methods inherited from class com.luciad.view.lightspeed.style.ALspStyle
addStyleChangeListener, getZOrder, isCompatible, removeStyleChangeListener, style
-
Method Details
-
newBuilder
Creates a new builder with the default values.- Returns:
- the new builder.
-
asBuilder
Creates a new builder initialized with all the properties of this style. -
getShader
- Returns:
- the hypsometric shader that can be used to compute the hypsometric values
-
getColorModel
- Returns:
- the color model that maps the hypsometric values to colors
-
getUnknownValueColor
Returns color that is used for hypsometric values that are unknown. The hypsometric values are typically unknown when some elevation data is unknown.- Returns:
- the color that is used for hypsometric values that are unknown
-
isTransparent
public boolean isTransparent()Description copied from class:ALspStyle
Determines whether this style is transparent. Shapes that are transparent can be painted in a different paint phase than shapes that are not transparent.- Specified by:
isTransparent
in classALspStyle
- Returns:
- whether or not this style is transparent
-
equals
-
hashCode
public int hashCode()
-