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, setUnitOfMeasure
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getDescription, getGeometry, getGeometryPropertyName, getOptions, hasOption, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure
getName, getUnitOfMeasure
public RasterSymbolizerImpl()
public RasterSymbolizerImpl(FilterFactory factory)
public RasterSymbolizerImpl(FilterFactory factory, Description desc, String name, Unit<Length> uom, OverlapBehavior behavior)
public int hashCode()
hashCode
in class AbstractSymbolizer
public boolean equals(Object obj)
equals
in class AbstractSymbolizer
public ChannelSelection getChannelSelection()
getChannelSelection
in interface RasterSymbolizer
public ColorMapImpl getColorMap()
getColorMap
in interface RasterSymbolizer
public ContrastEnhancementImpl getContrastEnhancement()
getContrastEnhancement
in interface RasterSymbolizer
public 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 RasterSymbolizer
public Expression getOpacity()
getOpacity
in interface RasterSymbolizer
@Deprecated public Expression getOverlap()
public OverlapBehavior getOverlapBehavior()
RasterSymbolizer
getOverlapBehavior
in interface RasterSymbolizer
public void setOverlapBehavior(OverlapBehavior overlapBehavior)
RasterSymbolizer
public ShadedReliefImpl getShadedRelief()
getShadedRelief
in interface RasterSymbolizer
public 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)
RasterSymbolizer
accept
in interface RasterSymbolizer
accept
in interface Symbolizer
visitor
- the style visitorpublic void accept(StyleVisitor visitor)
public Object clone()
clone
in class Object
RuntimeException
- DOCUMENT ME!Copyright © 1996–2019 Geotools. All rights reserved.