__init__(self,
rotation=0.0,
size=0,
symbolID='',
minSize=0,
opacity=0.0,
xScale=0.0,
yScale=0.0,
GmlMarks=None,
GmlPointSymbols=None,
*args,
**kw_args)
(Constructor)
|
|
Initialises a new 'GmlGraphic' instance.
- Parameters:
rotation - Gives the rotation of a graphic in the clockwise direction about
its center point in decimal degrees, encoded as a floating-point
number. Negative values mean counter-clockwise rotation. The
default value is 0.0 (no rotation). Note that there is no
connection between source geometry types and rotations; the point
used for plotting has no inherent direction. Also, the point
within the graphic about which it is rotated is format dependent.
If a format does not include an inherent rotation point, then the
point of rotation should be the centroid.
size - Gives the absolute size of the graphic in pixels encoded as a
floatingpoint number. The default size for an object is
context-dependent. Negative values are not allowed.
symbolID - The identifier of the symbol, if not derived from the type of CIM
object (PSR, Asset, Organisation, Document, etc.)
gmlSymbolPlacement is associated with.
minSize - The minimum symbol size allowed.
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
xScale - Horizontal scaling factor of normal symbol - particularly
applicable to busbars if not described through a sequence of
gmlPositions (e.g., Busbar).
yScale - Vertical scaling factor of normal symbol - particularly
applicable to busbars if not described through a sequence of
gmlPositions (e.g., Busbars).
GmlMarks
GmlPointSymbols
- Overrides:
object.__init__
|