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

Class GmlFont

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

Identifies a font of a certain family, style, and size.Identifies a font of a certain family, style, and size.

Instance Methods [hide private]
 
__init__(self, absoluteSize=False, size='', style='', family='', weight='', GmlTextSymbols=None, GmlSvgParameters=None, GmlColour=None, *args, **kw_args)
Initialises a new 'GmlFont' instance.
 
addGmlSvgParameters(self, *GmlSvgParameters)
 
addGmlTextSymbols(self, *GmlTextSymbols)
 
getGmlColour(self)
 
getGmlSvgParameters(self)
 
getGmlTextSymbols(self)
 
removeGmlSvgParameters(self, *GmlSvgParameters)
 
removeGmlTextSymbols(self, *GmlTextSymbols)
 
setGmlColour(self, value)
 
setGmlSvgParameters(self, value)
 
setGmlTextSymbols(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 = {'absoluteSize': <type 'bool'>, 'family': <type ...
  _attrs = ['absoluteSize', 'size', 'style', 'family', 'weight']
  _defaults = {'absoluteSize': False, 'family': '', 'size': '', ...
  _many_refs = ['GmlTextSymbols', 'GmlSvgParameters']
  _refs = ['GmlTextSymbols', 'GmlSvgParameters', 'GmlColour']

Inherited from Element'.Element (private): _enums

Properties [hide private]
  GmlColour
  GmlSvgParameters
  GmlTextSymbols

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

Inherited from object: __class__

Method Details [hide private]

__init__(self, absoluteSize=False, size='', style='', family='', weight='', GmlTextSymbols=None, GmlSvgParameters=None, GmlColour=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'GmlFont' instance.

Parameters:
  • absoluteSize - True if 'size' is expressed in absolute values. Default is false.
  • size - The size to use for the font in pixels. The default is defined to be 10 pixels, though various systems may have restrictions on what sizes are available.
  • style - The style to use for a font. The allowed values are 'normal', 'italic', and 'oblique'.
  • family - Family name of a font to use. Allowed values are system-dependent. Any number of font-family attributes may be given and they are assumed to be in preferred order.
  • weight - The amount of weight or boldness to use for a font. Allowed values are 'normal' and 'bold'.
  • GmlTextSymbols
  • GmlSvgParameters
  • GmlColour
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'absoluteSize': <type 'bool'>,
 'family': <type 'str'>,
 'size': <type 'str'>,
 'style': <type 'str'>,
 'weight': <type 'str'>}

_defaults

Value:
{'absoluteSize': False,
 'family': '',
 'size': '',
 'style': '',
 'weight': ''}

Property Details [hide private]

GmlColour

Get Method:
getGmlColour(self)
Set Method:
setGmlColour(self, value)

GmlSvgParameters

Get Method:
getGmlSvgParameters(self)
Set Method:
setGmlSvgParameters(self, value)

GmlTextSymbols

Get Method:
getGmlTextSymbols(self)
Set Method:
setGmlTextSymbols(self, value)