Package com.luciad.view.lightspeed.style
Class ALspSoftDensityStyle
java.lang.Object
com.luciad.view.lightspeed.style.ALspStyle
com.luciad.view.lightspeed.style.ALspDensityStyle
com.luciad.view.lightspeed.style.ALspSoftDensityStyle
- All Implemented Interfaces:
ILspWorldElevationStyle
,ILspStyler
- Direct Known Subclasses:
TLspDensityLineStyle
,TLspDensityPointStyle
An
ALspDensityStyle
which allows variable width (in pixels or world reference size)
and hardness. Consult the class javadoc of ALspDensityStyle
for more information.- Since:
- 2012.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder used to create soft density styles.Nested classes/interfaces inherited from interface com.luciad.view.lightspeed.style.ILspWorldElevationStyle
ILspWorldElevationStyle.ElevationMode
-
Method Summary
Methods inherited from class com.luciad.view.lightspeed.style.ALspDensityStyle
getElevationMode, getWeight, isTransparent
Methods inherited from class com.luciad.view.lightspeed.style.ALspStyle
addStyleChangeListener, asBuilder, getZOrder, isCompatible, removeStyleChangeListener, style
-
Method Details
-
getHardness
public double getHardness()Hardness of the density style. This is a value between 0.0 and 1.0 which measures the blurriness of the painted density plot, from very blurred (0.0) to completely sharp (1.0).
Consult the class javadoc of
ALspDensityStyle
for more information.- Returns:
- the hardness of this
ALspDensityStyle
-
getWidth
public double getWidth()Returns the width of the density plot.
Consult the class javadoc of
ALspDensityStyle
for more information.- Returns:
- the width of the density plot
-
isWorldSize
public boolean isWorldSize()Returns whether the width of the density plot is in world length units or in pixel size.
Consult the class javadoc of
ALspDensityStyle
for more information.- Returns:
- whether the width of the density plot is in world length units or in pixel size
-
equals
- Overrides:
equals
in classALspDensityStyle
-
hashCode
public int hashCode()- Overrides:
hashCode
in classALspDensityStyle
-