Class of objects representing markers.
Markers are elements which allows to provide spatial coordinate system
via graphical SVG element which can be easily done by various graphics
software. Markers are recalculated into metadata elements by barPretracedSlide.parseMarkers.
|
__init__(self,
spatialLocation,
svgLocation,
properties=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
xml.dom.minidom.Node
|
getXMLelement(self,
textNodeCaption='
' )
Generate XML DOM representation of the object. |
|
|
(float, float)
|
|
|
_setSpatialLocation(self,
SpatialLocationTuple)
Assign the location of the marker in spatial coordinate system. |
|
|
(float, float)
|
_getSVGLocation(self)
Returns:
location (x, y) of the marker in SVG coordinate system |
|
|
|
_setSVGLocation(self,
SVGLocationTuple)
Assign the location of the marker in SVG coordinate system. |
|
|
|
__affineTransform(self,
M)
Transform the location of the marker in SVG coordinate system. |
|
|
|
|
Inherited from barObject :
__str__ ,
getElementById ,
writeXMLtoFile
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|