public abstract class ALspDensityStyle extends ALspStyle implements ILspWorldElevationStyle
A style which describes density plots.
Visualizing density plots of vector data is done with the TLspShapeLayerBuilder
in
combination with ALspDensityStyle
instances.
Controlling the color mapping is done by specifying a TLspIndexColorModelStyle
as well.
Density styles are created using a builder class:
TLspDensityLineStyle.newBuilder()
for linesTLspDensityPointStyle.newBuilder()
for pointsTLspDensityFillStyle.newBuilder()
for fillsFor lines and points, you can control the width and the hardness of the density plot:
TLspShapePainter
Modifier and Type | Class and Description |
---|---|
static class |
ALspDensityStyle.Builder<B extends ALspDensityStyle.Builder<B>>
Builder used to create density styles.
|
ILspWorldElevationStyle.ElevationMode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ILspWorldElevationStyle.ElevationMode |
getElevationMode()
Returns the elevation mode of this style.
|
float |
getWeight()
Returns the weight of this density style.
|
int |
hashCode() |
boolean |
isTransparent()
Whether this
ALspDensityStyle is transparent. |
addStyleChangeListener, asBuilder, getZOrder, isCompatible, removeStyleChangeListener, style
public boolean isTransparent()
ALspDensityStyle
is transparent.
This method overrides ALspStyle.isTransparent()
and
always returns false
.
If you want transparency, you should use a color model with transparent colors and pass that color model in
a TLspIndexColorModelStyle
together with the density style.
isTransparent
in class ALspStyle
ALspDensityStyle
is transparent.public float getWeight()
TLspIndexColorModelStyle.getScaleFactor()
public ILspWorldElevationStyle.ElevationMode getElevationMode()
ILspWorldElevationStyle
getElevationMode
in interface ILspWorldElevationStyle