public static class TLspParameterizedRasterIconStyle.Builder<B extends TLspParameterizedRasterIconStyle.Builder<B>> extends ALspStyle.Builder<B>
icon(com.luciad.format.raster.ILcdParameterizedIcon)
method to set a valid icon.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
B |
all(ALspStyle aStyle)
Sets all parameters on the builder based on the given style.
|
TLspParameterizedRasterIconStyle |
build()
Builds the style with the set parameters.
|
B |
haloColor(Color aHaloColor)
Sets the halo color of multi-valued raster icons.
|
B |
haloThickness(float aHaloThickness)
Sets the halo thickness of multi-valued raster icons in pixels.
|
B |
icon(ILcdParameterizedIcon aIcon)
Sets the icon to use for multi-valued rasters (if any).
|
B |
spacing(int aIconSpacing)
Sets the grid spacing of multi-valued raster icons (if any), expressed in pixels.
|
String |
toString() |
equals, hashCode
public B spacing(int aIconSpacing)
aIconSpacing
- the icon spacing, or -1 if a default should be chosenthis
icon(com.luciad.format.raster.ILcdParameterizedIcon)
public B icon(ILcdParameterizedIcon aIcon)
aIcon
- the icon to use, or null for a default iconthis
spacing(int)
,
ILcdMultivaluedRaster
public B haloThickness(float aHaloThickness)
By default, the halo thickness is 1
.
aHaloThickness
- the thickness in pixelsthis
haloColor(java.awt.Color)
public B haloColor(Color aHaloColor)
0
.
By default, the halo color is Color.white
.
aHaloColor
- the halo colorthis
IllegalArgumentException
- if aHaloColor==null
haloThickness(float)
public B all(ALspStyle aStyle)
ALspStyle.Builder
all
in class ALspStyle.Builder<B extends TLspParameterizedRasterIconStyle.Builder<B>>
aStyle
- the style to copythis
public TLspParameterizedRasterIconStyle build()
ALspStyle.Builder
build
in class ALspStyle.Builder<B extends TLspParameterizedRasterIconStyle.Builder<B>>