public class TLspParameterizedRasterIconStyle extends ALspStyle
Style used to visualize multi-dimensional (parameterized) raster data as a flat icon (also known as a point sprite).
This style can for example be used to label an image containing temperature values, or to label a multi-band image containing the x- and y- components of wind speed. For example:
Construction of an icon style is done through the Builder
design
pattern mechanism.
TLspRasterLayerBuilder
,
ILcdEarthMultivaluedRasterTileSetCoverage
Modifier and Type | Class and Description |
---|---|
static class |
TLspParameterizedRasterIconStyle.Builder<B extends TLspParameterizedRasterIconStyle.Builder<B>>
Builder for parameterized icon styles.
|
Modifier | Constructor and Description |
---|---|
protected |
TLspParameterizedRasterIconStyle(TLspParameterizedRasterIconStyle.Builder<?> aBuilder)
Creates a new style with the properties that are set on the builder
|
Modifier and Type | Method and Description |
---|---|
TLspParameterizedRasterIconStyle.Builder<?> |
asBuilder()
Creates a new builder initialized with all the properties of this style.
|
boolean |
equals(Object o) |
Color |
getHaloColor()
Returns the halo color of multi-valued raster icons.
|
float |
getHaloThickness()
Returns the halo thickness of multi-valued raster icons in pixels.
|
ILcdParameterizedIcon |
getIcon()
Returns the icon to use for multi-valued raster data (if any).
|
int |
getSpacing()
Returns the grid spacing of multi-valued raster icons (if any), expressed in pixels.
|
int |
hashCode() |
boolean |
isTransparent()
Determines whether this style is transparent.
|
static TLspParameterizedRasterIconStyle.Builder<?> |
newBuilder()
Creates a new builder with the default values.
|
String |
toString() |
addStyleChangeListener, getZOrder, isCompatible, removeStyleChangeListener, style
protected TLspParameterizedRasterIconStyle(TLspParameterizedRasterIconStyle.Builder<?> aBuilder)
aBuilder
- a builder which will be used to initialize this style.public static TLspParameterizedRasterIconStyle.Builder<?> newBuilder()
public TLspParameterizedRasterIconStyle.Builder<?> asBuilder()
public ILcdParameterizedIcon getIcon()
public int getSpacing()
public Color getHaloColor()
0
.public float getHaloThickness()
public boolean isTransparent()
ALspStyle
isTransparent
in class ALspStyle