__init__(self,
graySourcename='',
greenSourceName='',
opacity=0.0,
reliefFactor='',
redSourcename='',
overlapbehaviour='',
brighnessOnly=False,
blueSourcename='',
GmlDiagramObject=None,
*args,
**kw_args)
(Constructor)
|
|
Initialises a new 'GmlRasterSymbol' instance.
- Parameters:
graySourcename - A single colour channel may be selected to display in grayscale.
Colour Channels are identified by a system and data-dependent
character identifier. Contrast enhancement may be applied to each
channel in isolation.
greenSourceName - Colour Channels are identified by a system and data-dependent
character identifier. Contrast enhancement may be applied to each
channel in isolation.
opacity - Specifies the level of translucency to use when rendering the
Graphic. The value is encoded as a floating-point value between
0.0 and 1.0 with 0.0 representing completely transparent and 1.0
representing completely opaque, with a linear scale of
translucency for intermediate values. The default value is 1.0.
reliefFactor - The ReliefFactor gives the amount of exaggeration to use for the
height of the 'hills'. A value of around 55 (times) gives
reasonable results for Earth-based DEMs. The default value is
system-dependent.
redSourcename - Colour Channels are identified by a system and data-dependent
character identifier. Contrast enhancement may be applied to each
channel in isolation.
overlapbehaviour - Tells a system how to behave when multiple raster images in a
layer overlap each other, for example with satellite-image
scenes.
brighnessOnly - If the BrightnessOnly flag is 0 (false, default), the shading is
applied to the layer being rendered as the current RasterSymbol.
If BrightnessOnly is 1 (true), the shading is applied to the
brightness of the colors in the rendering canvas generated so far
by other layers, with the effect of relief-shading these other
layers.
blueSourcename - Colour Channels are identified by a system and data-dependent
character identifier. Contrast enhancement may be applied to each
channel in isolation.
GmlDiagramObject
- Overrides:
object.__init__
|