public class RasterSymbolizerImpl extends AbstractSymbolizer implements RasterSymbolizer
description, geometry, name, options, unitOfMeasure| Constructor and Description |
|---|
RasterSymbolizerImpl() |
RasterSymbolizerImpl(FilterFactory factory) |
RasterSymbolizerImpl(FilterFactory factory,
Description desc,
String name,
Unit<Length> uom,
OverlapBehavior behavior) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(StyleVisitor visitor) |
Object |
accept(StyleVisitor visitor,
Object data)
calls the visit method of a StyleVisitor
|
Object |
clone()
Creates a deep copy clone.
|
boolean |
equals(Object obj) |
ChannelSelection |
getChannelSelection()
The ChannelSelection element specifies the false-color channel selection for a multi-spectral
raster source (such as a multi-band satellite-imagery source).
|
ColorMapImpl |
getColorMap()
The ColorMap element defines either the colors of a palette-type raster source or the mapping
of fixed-numeric pixel values to colors.
|
ContrastEnhancementImpl |
getContrastEnhancement()
The ContrastEnhancement element defines contrast enhancement for a channel of a false-color
image or for a color image.
|
Symbolizer |
getImageOutline()
The ImageOutline element specifies that individual source rasters in a multi-raster set (such
as a set of satellite-image scenes) should be outlined with either a LineStringSymbol or
PolygonSymbol.
|
Expression |
getOpacity()
fetch the expresion which evaluates to the opacity fo rthis coverage
|
Expression |
getOverlap()
Deprecated.
|
OverlapBehavior |
getOverlapBehavior()
The OverlapBehavior element tells a system how to behave when multiple raster images in a
layer overlap each other, for example with satellite-image scenes.
|
ShadedReliefImpl |
getShadedRelief()
The ShadedRelief element selects the application of relief shading (or ?
|
int |
hashCode() |
void |
setChannelSelection(ChannelSelection channel)
The ChannelSelection element specifies the false-color channel selection for a multi-spectral
raster source (such as a multi-band satellite-imagery source).
|
void |
setColorMap(ColorMap colorMap)
The ColorMap element defines either the colors of a palette-type raster source or the mapping
of fixed-numeric pixel values to colors.
|
void |
setContrastEnhancement(ContrastEnhancement contrastEnhancement)
The ContrastEnhancement element defines contrast enhancement for a channel of a false-color
image or for a color image.
|
void |
setImageOutline(Symbolizer symbolizer)
The ImageOutline element specifies that individual source rasters in a multi-raster set (such
as a set of satellite-image scenes) should be outlined with either a LineStringSymbol or
PolygonSymbol.
|
void |
setOpacity(Expression opacity)
sets the opacity for the coverage, it has the usual meaning.
|
void |
setOverlap(Expression overlap)
Deprecated.
|
void |
setOverlapBehavior(OverlapBehavior overlapBehavior)
Set the overlap behavior.
|
void |
setShadedRelief(ShadedRelief shadedRelief)
The ShadedRelief element selects the application of relief shading (or ?
|
getDescription, getGeometry, getGeometryPropertyName, getName, getOptions, getUnitOfMeasure, hasOption, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasurefinalize, getClass, notify, notifyAll, toString, wait, wait, waitgetDescription, getGeometry, getGeometryPropertyName, getOptions, hasOption, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasuregetName, getUnitOfMeasurepublic RasterSymbolizerImpl()
public RasterSymbolizerImpl(FilterFactory factory)
public RasterSymbolizerImpl(FilterFactory factory, Description desc, String name, Unit<Length> uom, OverlapBehavior behavior)
public int hashCode()
hashCode in class AbstractSymbolizerpublic boolean equals(Object obj)
equals in class AbstractSymbolizerpublic ChannelSelection getChannelSelection()
getChannelSelection in interface RasterSymbolizerpublic ColorMapImpl getColorMap()
getColorMap in interface RasterSymbolizerpublic ContrastEnhancementImpl getContrastEnhancement()
getContrastEnhancement in interface RasterSymbolizerpublic Symbolizer getImageOutline()
<xs:element name="ImageOutline">
<xs:complexType>
<xs:choice>
<xs:element ref="sld:LineSymbolizer"/>
<xs:element ref="sld:PolygonSymbolizer"/>
</xs:choice>
</xs:complexType>
</xs:element>
An Opacity of 0.0 can be selected for the main raster to avoid rendering the main-raster
pixels, or an opacity can be used for a PolygonSymbolizer Fill to allow the main-raster data
be visible through the fill.getImageOutline in interface RasterSymbolizerpublic Expression getOpacity()
getOpacity in interface RasterSymbolizer@Deprecated public Expression getOverlap()
public OverlapBehavior getOverlapBehavior()
RasterSymbolizergetOverlapBehavior in interface RasterSymbolizerpublic void setOverlapBehavior(OverlapBehavior overlapBehavior)
RasterSymbolizerpublic ShadedReliefImpl getShadedRelief()
getShadedRelief in interface RasterSymbolizerpublic void setChannelSelection(ChannelSelection channel)
channel - the channel selectedpublic void setColorMap(ColorMap colorMap)
colorMap - the ColorMap for the rasterpublic void setContrastEnhancement(ContrastEnhancement contrastEnhancement)
contrastEnhancement - the contrastEnhancementpublic void setImageOutline(Symbolizer symbolizer)
<xs:element name="ImageOutline">
<xs:complexType>
<xs:choice>
<xs:element ref="sld:LineSymbolizer"/>
<xs:element ref="sld:PolygonSymbolizer"/>
</xs:choice>
</xs:complexType>
</xs:element>
An Opacity of 0.0 can be selected for the main raster to avoid rendering the main-raster
pixels, or an opacity can be used for a PolygonSymbolizer Fill to allow the main-raster data
be visible through the fill.symbolizer - the symbolizer to be used. If this is not a polygon or a line
symbolizer an unexpected argument exception may be thrown by an implementing class.IllegalArgumentException - DOCUMENT ME!public void setOpacity(Expression opacity)
opacity - An expression which evaluates to the the opacity (0-1)@Deprecated public void setOverlap(Expression overlap)
overlap - the expression which evaluates to LATEST_ON_TOP, EARLIEST_ON_TOP, AVERAGE or
RANDOMpublic void setShadedRelief(ShadedRelief shadedRelief)
shadedRelief - the shadedrelief objectpublic Object accept(StyleVisitor visitor, Object data)
RasterSymbolizeraccept in interface RasterSymbolizeraccept in interface Symbolizervisitor - the style visitorpublic void accept(StyleVisitor visitor)
public Object clone()
clone in class ObjectRuntimeException - DOCUMENT ME!Copyright © 1996–2019 Geotools. All rights reserved.