Home | Trees | Indices | Help |
|
---|
|
Instance Methods | |
Inherited from Inherited from Inherited from Inherited from |
Properties | |
alignment The paragraph alignment. |
|
color The color of the text in standard html color notation: FF0000 is red, 00FF00 green, etc. |
|
font The family name of the truetype font to use. |
|
indent The indentation of the first line of the paragraph. |
|
italic Boolean value that determines if the text is displayed in italic. |
|
linespacing The number of pixels between different lines of a paragraph. |
|
parawidth The width at which to word-wrap. |
|
size The font size in pixels. |
|
smallcaps | |
stretch One of 'ultracondensed', 'extracondensed', 'condensed', 'semicondensed', 'normal', 'semiexpanded', 'expanded', 'extraexpanded' and 'ultraexpanded'. |
|
text The string to display. |
|
weight Sets the character weight. |
|
Inherited from Inherited from Inherited from |
Property Details |
alignmentThe paragraph alignment. Possible values are 'left', 'center' and 'right'.
|
colorThe color of the text in standard html color notation: FF0000 is red, 00FF00 green, etc.
|
fontThe family name of the truetype font to use. This font must be installed in the system, for instance using the installfonts.sh script in the main libavg source directory.
|
indentThe indentation of the first line of the paragraph.
|
italicBoolean value that determines if the text is displayed in italic.
|
linespacingThe number of pixels between different lines of a paragraph.
|
parawidthThe width at which to word-wrap.
|
sizeThe font size in pixels. Fractional sizes are supported.
|
smallcaps
|
stretchOne of 'ultracondensed', 'extracondensed', 'condensed', 'semicondensed', 'normal', 'semiexpanded', 'expanded', 'extraexpanded' and 'ultraexpanded'. Not implemented in most fonts.
|
textThe string to display. In the avg file, this is either the text attribute of the words node or the content of the words node itself. In the second case, the string can be formatted using the pango text attribute markup language described at http://developer.gnome.org/doc/API/2.0/pango/PangoMarkupFormat.html. Markup can also be used if the text is set using python.
|
weightSets the character weight. Possible values are 'ultralight', 'light', 'normal', 'semibold', 'bold', 'ultrabold' and 'heavy'. This value is mapped to the weights implemented in the font chosen. In most cases, working weights are limited to 'normal' and 'bold'.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Mon Aug 27 20:37:12 2007 | http://epydoc.sourceforge.net |