Module fig :: Class Text

Class Text




Represents a text object. Text instances have a number of extra attributes:



Instance Methods
 
__init__(self, x, y, text, alignment=0)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
bounds(self)
 
__str__(self)
str(x)

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Properties
  alignment
  angle
  font
  fontFlags
  fontSize
  height
  length
  text
  x
  y

Inherited from Object: backwardArrow, capStyle, comment, depth, fillColor, fillStyle, forwardArrow, joinStyle, lineStyle, lineWidth, penColor, penStyle, styleValue

Inherited from object: __class__

Method Details

__init__(self, x, y, text, alignment=0)
(Constructor)

 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: Object.__init__

__str__(self)
(Informal representation operator)

 
str(x)
Overrides: object.__str__
(inherited documentation)