Home | Trees | Indices | Help |
|
---|
|
st=spannedtext(textlist=[])
a spannedtext can be used for text which consists of text, tspan's and tref's You can use it to add to a text element or path element. Don't add it directly to a svg or a group element. usage:
ts=tspan('this text is bold') ts.attributes['font-weight']='bold' tr=tref('#linktotext') tr.attributes['fill']='red' st=spannedtext() st.addtspan(ts) st.addtref(tr) st.addtext('This text is not bold') t=text(3,5,st)
|
|||
|
|||
|
|||
|
|||
|
|||
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jul 22 10:48:28 2009 | http://epydoc.sourceforge.net |