Package CIM15 :: Package IEC61970 :: Package Informative :: Package InfGMLSupport :: Module GmlSvgParameter' :: Class GmlSvgParameter
[hide private]
[frames] | no frames]

Class GmlSvgParameter

                         object --+        
                                  |        
                   Element'.Element --+    
                                      |    
Core.IdentifiedObject'.IdentifiedObject --+
                                          |
                                         GmlSvgParameter

Refers to an SVG/CSS graphical-formatting parameter. The parameter is identified using the 'name' attribute and the content of the element gives the SVG/CSS-coded value.Refers to an SVG/CSS graphical-formatting parameter. The parameter is identified using the 'name' attribute and the content of the element gives the SVG/CSS-coded value.

Instance Methods [hide private]
 
__init__(self, attribute='', value='', GmlStokes=None, GmlFonts=None, GmlFills=None, *args, **kw_args)
Initialises a new 'GmlSvgParameter' instance.
 
addGmlFills(self, *GmlFills)
 
addGmlFonts(self, *GmlFonts)
 
addGmlStokes(self, *GmlStokes)
 
getGmlFills(self)
 
getGmlFonts(self)
 
getGmlStokes(self)
 
removeGmlFills(self, *GmlFills)
 
removeGmlFonts(self, *GmlFonts)
 
removeGmlStokes(self, *GmlStokes)
 
setGmlFills(self, value)
 
setGmlFonts(self, value)
 
setGmlStokes(self, value)

Inherited from Core.IdentifiedObject'.IdentifiedObject: addDiagramObjects, addNames, getDiagramObjects, getModelingAuthoritySet, getNames, removeDiagramObjects, removeNames, setDiagramObjects, setModelingAuthoritySet, setNames

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _attr_types = {'attribute': <type 'str'>, 'value': <type 'str'>}
  _attrs = ['attribute', 'value']
  _defaults = {'attribute': '', 'value': ''}
  _many_refs = ['GmlStokes', 'GmlFonts', 'GmlFills']
  _refs = ['GmlStokes', 'GmlFonts', 'GmlFills']

Inherited from Element'.Element (private): _enums

Properties [hide private]
  GmlFills
  GmlFonts
  GmlStokes

Inherited from Core.IdentifiedObject'.IdentifiedObject: DiagramObjects, ModelingAuthoritySet, Names

Inherited from object: __class__

Method Details [hide private]

__init__(self, attribute='', value='', GmlStokes=None, GmlFonts=None, GmlFills=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'GmlSvgParameter' instance.

Parameters:
  • attribute - The attribute of the GmlSvgParameter. E.g., for 'Stroke', the following SvgParameters may be used: 'stroke' (color), 'stroke-opacity', 'stroke-width', 'stroke-linejoin', 'stroke-linecap', 'stroke-dasharray', and 'stroke-dashoffset'. Others are not officially supported.
  • value - The SVG/CSS-coded value of the associated SvgAttribute.
  • GmlStokes
  • GmlFonts
  • GmlFills
Overrides: object.__init__

Property Details [hide private]

GmlFills

Get Method:
getGmlFills(self)
Set Method:
setGmlFills(self, value)

GmlFonts

Get Method:
getGmlFonts(self)
Set Method:
setGmlFonts(self, value)

GmlStokes

Get Method:
getGmlStokes(self)
Set Method:
setGmlStokes(self, value)