|
__init__(self,
name,
color,
pathList=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
__setitem__(self,
key,
value)
Add path to the structure. |
|
|
|
|
barPath
|
|
|
|
int
|
__len__(self)
Returns:
number of paths in the structure |
|
|
|
updatePaths(self)
Update colour and name of contained paths. |
|
|
[str, ...]
|
keys(self)
Returns:
contained paths identifiers |
|
|
[(str, barPath), ...]
|
items(self)
Returns:
(path identifier, path) pairs for contained paths |
|
|
[barPath, ...]
|
values(self)
Returns:
contained paths |
|
|
iterator([barPath, ...])
|
itervalues(self)
Returns:
iterator over contained paths |
|
|
iterator([str, ...])
|
iterkeys(self)
Returns:
iterator over contained paths identifiers |
|
|
iterator([(str, barPath), ...])
|
iteritems(self)
Returns:
iterator over (path identifier, path) pairs for contained paths |
|
|
|
_getPaths(self)
An alias for self.values() . |
|
|
str or None
|
|
|
|
|
|
str
|
|
str
|
_getStructureColor(self)
Returns:
colour of the structure in hexadecimal format (with or without the
leading '#') |
|
|
|
|
(int, int, int, int)
|
_getBbox(self)
Returns:
bounding box (min_x, min_y, max_x, max_y) of the whole structure |
|
|
|
_setBbox(self,
newBBox)
Raise ValueError. |
|
|
iterator([xml.dom.minidom.Node, ...])
|
getXMLelement(self)
Returns:
iterator over XML DOM representations of contained paths. |
|
|
|
addPaths(self,
*args)
Add paths to the structure. |
|
|
|
__affineTransform(self,
M)
Transform the location of all paths in SVG coordinate system. |
|
|
|
|
|
__setCrispEdges(self,
boolValue)
Set 'crispEdges' attribute for every path of the
structure. |
|
|
bool
|
|
Inherited from barObject :
getElementById ,
writeXMLtoFile
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|