Package wx :: Package lib :: Package floatcanvas :: Module FloatCanvas :: Class DrawObject
[frames | no frames]

Class DrawObject

Known Subclasses:
Arrow, Line, Point, PointSet, Polygon, RectEllipse, ScaledText, Text

This is the base class for all the objects that can be drawn.

One must subclass from this (and an assortment of Mixins) to create a new DrawObject.


Method Summary
  __init__(self, InForeground)
  Bind(self, Event, CallBackFun)
  PutInBackground(self)
  PutInForeground(self)
  SetBrush(self, FillColor, FillStyle)
  SetHitBrush(self, HitColor)
  SetHitPen(self, HitColor, LineWidth)
  SetPen(self, LineColor, LineStyle, LineWidth)
  UnBindAll(self)

Class Variable Summary
dict BrushList = {('Grey', 'Solid'): wxPython wrapper for UNB...
dict FillStyleList = {'CrossHatch': 114, 'FDiagonal_Hatch': 1...
dict LineStyleList = {'Solid': 100, 'ShortDash': 103, 'Dot': ...
dict PenList = {('MediumGrey', 'Solid', 1): wxPython wrapper ...

Class Variable Details

BrushList

Type:
dict
Value:
{(None, 'Transparent'): wxPython wrapper for UNBORN object! (The C++ o\
bject is not initialized yet.),
 ('Black', 'Solid'): wxPython wrapper for UNBORN object! (The C++ obje\
ct is not initialized yet.),
 ('Blue', 'Solid'): wxPython wrapper for UNBORN object! (The C++ objec\
t is not initialized yet.),
 ('Cyan', 'Solid'): wxPython wrapper for UNBORN object! (The C++ objec\
t is not initialized yet.),
...                                                                    

FillStyleList

Type:
dict
Value:
{'BiDiagonalHatch': 111,
 'CrossDiagHatch': 112,
 'CrossHatch': 114,
 'FDiagonal_Hatch': 113,
 'HorizontalHatch': 115,
 'Solid': 100,
 'Transparent': 106,
 'VerticalHatch': 116}                                                 

LineStyleList

Type:
dict
Value:
{'Dot': 101,
 'DotDash': 104,
 'LongDash': 102,
 'ShortDash': 103,
 'Solid': 100,
 'Transparent': 106}                                                   

PenList

Type:
dict
Value:
{(None, 'Transparent', 1): wxPython wrapper for UNBORN object! (The C+\
+ object is not initialized yet.),
 ('Black', 'Solid', 1): wxPython wrapper for UNBORN object! (The C++ o\
bject is not initialized yet.),
 ('Cyan', 'Solid', 1): wxPython wrapper for UNBORN object! (The C++ ob\
ject is not initialized yet.),
 ('Green', 'Solid', 1): wxPython wrapper for UNBORN object! (The C++ o\
bject is not initialized yet.),
...                                                                    

Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:23:11 2005 http://epydoc.sf.net