public static class TLspHypsometricShadingStyle.Builder<B extends TLspHypsometricShadingStyle.Builder<B>> extends ALspStyle.Builder<B>
color model factory
to create themModifier | Constructor and Description |
---|---|
protected |
Builder()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
B |
all(ALspStyle aStyle)
Sets all parameters on the builder based on the given style.
|
TLspHypsometricShadingStyle |
build()
Builds the style with the set parameters.
|
B |
colorModel(IndexColorModel aColorModel)
Sets the initial color model that will be use to map the hypsometric values to colors.
|
B |
shader(ALspHypsometricShader aShader)
Sets the hypsometric shader that will used to compute the hypsometric values.
|
B |
unknownValueColor(Color aColor)
Returns color that is used for hypsometric values that are unknown.
|
equals, hashCode
public B shader(ALspHypsometricShader aShader)
aShader
- the hypsometric shaderthis
public B colorModel(IndexColorModel aColorModel)
TLcdJetIndexColorModelFactory
to create a
color model.aColorModel
- the color model that maps hypsometric values to colorsthis
public B unknownValueColor(Color aColor)
aColor
- the color that is used for hypsometric values that are unknownthis
public B all(ALspStyle aStyle)
ALspStyle.Builder
all
in class ALspStyle.Builder<B extends TLspHypsometricShadingStyle.Builder<B>>
aStyle
- the style to copythis
public TLspHypsometricShadingStyle build()
ALspStyle.Builder
build
in class ALspStyle.Builder<B extends TLspHypsometricShadingStyle.Builder<B>>