public interface RasterSymbolizer extends RasterSymbolizer, Symbolizer
The details of this object are taken from the OGC Styled-Layer Descriptor Report (OGC 02-070) version 1.0.0.:
 <xs:element name="RasterSymbolizer">
   <xs:complexType>
     <xs:sequence>
       <xs:element ref="sld:Geometry" minOccurs="0"/>
       <xs:element ref="sld:Opacity" minOccurs="0"/>
       <xs:element ref="sld:ChannelSelection" minOccurs="0"/>
       <xs:element ref="sld:OverlapBehavior" minOccurs="0"/>
       <xs:element ref="sld:ColorMap" minOccurs="0"/>
       <xs:element ref="sld:ContrastEnhancement" minOccurs="0"/>
       <xs:element ref="sld:ShadedRelief" minOccurs="0"/>
       <xs:element ref="sld:ImageOutline" minOccurs="0"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 
 <RasterSymbolizer>
    <Opacity>1.0</Opacity>
    <ColorMap>
       <ColorMapEntry color="#00ff00" quantity="-500"/>
       <ColorMapEntry color="#00fa00" quantity="-417"/>
       <ColorMapEntry color="#14f500" quantity="-333"/>
       <ColorMapEntry color="#28f502" quantity="-250"/>
       <ColorMapEntry color="#3cf505" quantity="-167"/>
       <ColorMapEntry color="#50f50a" quantity="-83"/>
       <ColorMapEntry color="#64f014" quantity="-1"/>
       <ColorMapEntry color="#7deb32" quantity="0"/>
       <ColorMapEntry color="#78c818" quantity="30"/>
       <ColorMapEntry color="#38840c" quantity="105"/>
       <ColorMapEntry color="#2c4b04" quantity="300"/>
       <ColorMapEntry color="#ffff00" quantity="400"/>
       <ColorMapEntry color="#dcdc00" quantity="700"/>
       <ColorMapEntry color="#b47800" quantity="1200"/>
       <ColorMapEntry color="#c85000" quantity="1400"/>
       <ColorMapEntry color="#be4100" quantity="1600"/>
       <ColorMapEntry color="#963000" quantity="2000"/>
       <ColorMapEntry color="#3c0200" quantity="3000"/>
       <ColorMapEntry color="#ffffff" quantity="5000"/>
       <ColorMapEntry color="#ffffff" quantity="13000"/>
    </ColorMap>
    <OverlapBehavior>
       <AVERAGE/>
    </OverlapBehavior>
    <ShadedRelief/>
 </RasterSymbolizer>
 
 Here is a rather artificial mutli-band raster symbol:
 
 <RasterSymbolizer>
    <Opacity>1.0</Opacity>
    <ColorMap>
       <ColorMapEntry color="#000000" quantity="0"/>
       <ColorMapEntry color="#ffffff" quantity="255"/>
    </ColorMap>
    <ChannelSelection>
       <RedChannel>
          <SourceChannelName>1</SourceChannelName>
          <ContrastEnhancement>
             <Histogram/>
          </ContrastEnhancement>
       </RedChannel>
       <GreenChannel>
          <SourceChannelName>2</SourceChannelName>
          <ContrastEnhancement>
             <GammaValue>2.5</GammaValue>
          </ContrastEnhancement>
       </GreenChannel>
       <BlueChannel>
          <SourceChannelName>3</SourceChannelName>
          <ContrastEnhancement>
             <Normalize/>
          </ContrastEnhancement>
       </BlueChannel>
    </ChannelSelection>
    <OverlapBehavior>
       <LATEST_ON_TOP/>
    </OverlapBehavior>
    <ContrastEnhancement>
       <GammaValue>1.0</GammaValue>
   </ContrastEnhancement>
 </RasterSymbolizer>
 
 $Id$| Modifier and Type | Method and Description | 
|---|---|
| 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). | 
| ColorMap | getColorMap()The ColorMap element defines either the colors of a palette-type raster source or the mapping
 of fixed-numeric pixel values to colors. | 
| ContrastEnhancement | 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 | getOverlap()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. | 
| ShadedRelief | getShadedRelief()The ShadedRelief element selects the application of relief shading (or ? | 
| 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 ce)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)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. | 
| void | setOverlapBehavior(OverlapBehavior overlapBehavior)Set the overlap behavior. | 
| void | setShadedRelief(ShadedRelief relief)The ShadedRelief element selects the application of relief shading (or ? | 
accept, getOpacity, getOverlapBehavioraccept, getDescription, getGeometry, getGeometryPropertyName, getOptions, hasOption, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasuregetName, getUnitOfMeasurevoid setOpacity(Expression opacity)
opacity - An expression which evaluates to the the opacity (0-1)void setChannelSelection(ChannelSelection channel)
channel - the channel selectedChannelSelection getChannelSelection()
getChannelSelection in interface RasterSymbolizervoid setOverlap(Expression overlap)
overlap - the expression which evaluates to LATEST_ON_TOP, EARLIEST_ON_TOP, AVERAGE or
     RANDOMExpression getOverlap()
void setOverlapBehavior(OverlapBehavior overlapBehavior)
overlapBehavior - void setColorMap(ColorMap colorMap)
colorMap - the ColorMap for the rasterColorMap getColorMap()
getColorMap in interface RasterSymbolizervoid setContrastEnhancement(ContrastEnhancement ce)
ce - the contrastEnhancementContrastEnhancement getContrastEnhancement()
getContrastEnhancement in interface RasterSymbolizervoid setShadedRelief(ShadedRelief relief)
relief - the shadedrelief objectShadedRelief getShadedRelief()
getShadedRelief in interface RasterSymbolizervoid 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.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 RasterSymbolizerCopyright © 1996–2019 Geotools. All rights reserved.