CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Static Public Attributes
svgfig.Text Class Reference

Public Member Functions

def __init__
 
def __repr__
 
def SVG
 

Public Attributes

 attr
 
 d
 
 x
 
 y
 

Static Public Attributes

dictionary defaults = {"stroke":"none", "fill":"black", "font-size":5}
 

Detailed Description

Draws at text string at a specified point in local coordinates.

x, y                   required      location of the point in local coordinates
d                      required      text/Unicode string
attribute=value pairs  keyword list  SVG attributes 

Definition at line 1834 of file svgfig.py.

Constructor & Destructor Documentation

def svgfig.Text.__init__ (   self,
  x,
  y,
  d,
  attr 
)

Definition at line 1847 of file svgfig.py.

Member Function Documentation

def svgfig.Text.__repr__ (   self)

Definition at line 1844 of file svgfig.py.

def svgfig.Text.SVG (   self,
  trans = None 
)
Apply the transformation "trans" and return an SVG object.

Definition at line 1854 of file svgfig.py.

Member Data Documentation

svgfig.Text.attr

Definition at line 1851 of file svgfig.py.

svgfig.Text.d

Definition at line 1850 of file svgfig.py.

dictionary svgfig.Text.defaults = {"stroke":"none", "fill":"black", "font-size":5}
static

Definition at line 1842 of file svgfig.py.

svgfig.Text.x

Definition at line 1848 of file svgfig.py.

svgfig.Text.y

Definition at line 1849 of file svgfig.py.