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

Class GmlColour

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

The solid color that will be used. The color value is RGB-encoded using two hexadecimal digits per primary-color component, in the order Red, Green, Blue, prefixed with a hash (#) sign. The hexadecimal digits between A and F may be in either uppercase or lowercase. For example, full red is encoded as '#ff0000' (with no quotation marks). If the Stroke cssParameter element is absent, the default color is defined to be black ('#000000').The solid color that will be used. The color value is RGB-encoded using two hexadecimal digits per primary-color component, in the order Red, Green, Blue, prefixed with a hash (#) sign. The hexadecimal digits between A and F may be in either uppercase or lowercase. For example, full red is encoded as '#ff0000' (with no quotation marks). If the Stroke cssParameter element is absent, the default color is defined to be black ('#000000').

Instance Methods [hide private]
 
__init__(self, red='', green='', blue='', GmlFills=None, GmlFonts=None, GmlStrokes=None, *args, **kw_args)
Initialises a new 'GmlColour' instance.
 
addGmlFills(self, *GmlFills)
 
addGmlFonts(self, *GmlFonts)
 
addGmlStrokes(self, *GmlStrokes)
 
getGmlFills(self)
 
getGmlFonts(self)
 
getGmlStrokes(self)
 
removeGmlFills(self, *GmlFills)
 
removeGmlFonts(self, *GmlFonts)
 
removeGmlStrokes(self, *GmlStrokes)
 
setGmlFills(self, value)
 
setGmlFonts(self, value)
 
setGmlStrokes(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 = {'blue': <type 'str'>, 'green': <type 'str'>, 'r...
  _attrs = ['red', 'green', 'blue']
  _defaults = {'blue': '', 'green': '', 'red': ''}
  _many_refs = ['GmlFills', 'GmlFonts', 'GmlStrokes']
  _refs = ['GmlFills', 'GmlFonts', 'GmlStrokes']

Inherited from Element'.Element (private): _enums

Properties [hide private]
  GmlFills
  GmlFonts
  GmlStrokes

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

Inherited from object: __class__

Method Details [hide private]

__init__(self, red='', green='', blue='', GmlFills=None, GmlFonts=None, GmlStrokes=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'GmlColour' instance.

Parameters:
  • red - The color value for RED (RGB-encoded using two hexadecimal digits per primary-color component, in the order Red, Green, Blue, prefixed with a hash (#) sign.)
  • green - The color value for GREEN (RGB-encoded using two hexadecimal digits per primary-color component, in the order Red, Green, Blue, prefixed with a hash (#) sign.)
  • blue - The color value for BLUE (RGB-encoded using two hexadecimal digits per primary-color component, in the order Red, Green, Blue, prefixed with a hash (#) sign.).
  • GmlFills
  • GmlFonts
  • GmlStrokes
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'blue': <type 'str'>, 'green': <type 'str'>, 'red': <type 'str'>}

Property Details [hide private]

GmlFills

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

GmlFonts

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

GmlStrokes

Get Method:
getGmlStrokes(self)
Set Method:
setGmlStrokes(self, value)