public abstract static class ALspDensityStyle.Builder<B extends ALspDensityStyle.Builder<B>> extends ALspStyle.Builder<B> implements ILspWorldElevationStyle.Builder
Modifier and Type | Method and Description |
---|---|
B |
all(ALspStyle aStyle)
Sets all parameters on the builder based on the given style.
|
abstract ALspDensityStyle |
build()
Builds the style with the set parameters.
|
B |
elevationMode(ILspWorldElevationStyle.ElevationMode aMode)
Specifies the elevation mode.
|
B |
weight(float aWeight)
Sets the weight of this style's contribution to the density plot.
|
equals, hashCode
public B all(ALspStyle aStyle)
ALspStyle.Builder
all
in class ALspStyle.Builder<B extends ALspDensityStyle.Builder<B>>
aStyle
- the style to copythis
public B weight(float aWeight)
TLspIndexColorModelStyle.getScaleFactor()
can be used to scale the range of the density values.aWeight
- the weight of this style's contribution to the density plot, between 0 and 1this
public B elevationMode(ILspWorldElevationStyle.ElevationMode aMode)
ILspWorldElevationStyle.Builder
elevationMode
in interface ILspWorldElevationStyle.Builder
this
public abstract ALspDensityStyle build()
ALspStyle.Builder
build
in class ALspStyle.Builder<B extends ALspDensityStyle.Builder<B>>