Home | Trees | Index | Help |
---|
Package libxml2dom :: Module svg :: Class SVGPath |
|
A path. See: http://www.w3.org/TR/SVGMobile12/svgudom.html#svg__SVGPath See: http://www.w3.org/TR/SVGMobile12/paths.html
Method Summary | |
---|---|
__init__(self)
| |
__eq__(self,
other)
| |
__ne__(self,
other)
| |
close(self)
| |
curveTo(self,
x1,
y1,
x2,
y2,
x3,
y3)
| |
Initialise this object from the trait on the 'node' having the given 'name'. | |
getSegment(self,
cmdIndex)
| |
getSegmentParam(self,
cmdIndex,
paramIndex)
| |
lineTo(self,
x,
y)
| |
moveTo(self,
x,
y)
| |
quadTo(self,
x1,
y1,
x2,
y2)
| |
Set the trait on the given 'node' using the given 'name' according to this object's attributes. | |
_numberOfSegments(self)
|
Property Summary | |
---|---|
numberOfSegments |
Class Variable Summary | |
---|---|
int |
CLOSE = 90 |
int |
CURVE_TO = 67 |
int |
LINE_TO = 76 |
int |
MOVE_TO = 77 |
dict |
nparams = {67: 6, 76: 2, 77: 2, 81: 4, 122: 0, 90: 0}
|
int |
QUAD_TO = 81 |
int |
_CLOSE = 122 |
Method Details |
---|
fromNode(self, node, name)Initialise this object from the trait on the 'node' having the given 'name'. |
toNode(self, node, name)Set the trait on the given 'node' using the given 'name' according to this object's attributes. |
Property Details |
---|
numberOfSegments
|
Class Variable Details |
---|
CLOSE
|
CURVE_TO
|
LINE_TO
|
MOVE_TO
|
nparams
|
QUAD_TO
|
_CLOSE
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Mar 26 00:58:07 2007 | http://epydoc.sf.net |