Module fig :: Class EllipseBase

Class EllipseBase




Base class of Ellipse-like objects (Ellipse, Circle).

Instance Methods
 
__init__(self)
 
changeType(self, ellipseType)
Change type of this Ellipse object.
 
__str__(self)
str(x)
 
bounds(self)
 
setRadius(self, radius)
Change radius.
 
setCenterRadius(self, center, radius)
Set center and radius, see setRadius.

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

Properties
  angle
  center
  end
  radius
  start

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

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

 
Overrides: Object.__init__

changeType(self, ellipseType)

 

Change type of this Ellipse object. ellipseType may be one of the etXXX constants:

  • etEllipseRadii
  • etEllipseDiameter
  • etCircleRadius
  • etCircleDiameter

This method may change the type of this object to another EllipseBase-derived class.

__str__(self)
(Informal representation operator)

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