Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Package floatcanvas :: Module FloatCanvas :: Class DrawObject |
|
Arc
,
Arrow
,
ArrowLine
,
Bitmap
,
Circle
,
Group
,
Line
,
Point
,
PointSet
,
Polygon
,
RectEllipse
,
ScaledBitmap
,
ScaledBitmap2
,
ScaledText
,
ScaledTextBox
,
SquarePoint
,
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.
ote This class contain a series of static dictionaries:
- BrushList
- PenList
- FillStyleList
- LineStyleList
Is this still necessary?
Method Summary | |
---|---|
! param InForeground (bool) param IsVisible (Bool) | |
Bind(self,
Event,
CallBackFun)
| |
! rief Make an object hidden. | |
PutInBackground(self)
| |
PutInForeground(self)
| |
SetBrush(self,
FillColor,
FillStyle)
| |
SetColor(self,
Color)
| |
SetFillColor(self,
FillColor)
| |
SetFillStyle(self,
FillStyle)
| |
SetHitBrush(self,
HitColor)
| |
SetHitPen(self,
HitColor,
LineWidth)
| |
SetLineColor(self,
LineColor)
| |
SetLineStyle(self,
LineStyle)
| |
SetLineWidth(self,
LineWidth)
| |
SetPen(self,
LineColor,
LineStyle,
LineWidth)
| |
! rief Make an object visible on the canvas. | |
UnBindAll(self)
|
Class Variable Summary | |
---|---|
dict |
BrushList = {('MediumGrey', 'Solid'): <wx._gdi.Brush; >...
|
dict |
FillStyleList = {'CrossHatch': 114, 'FDiagonal_Hatch': 1...
|
dict |
LineStyleList = {'Solid': 100, 'ShortDash': 103, 'Dot': ...
|
dict |
PenList = {('LightGrey', 'Solid', 1): <wx._gdi.Pen; >, ...
|
Method Details |
---|
__init__(self,
InForeground=False,
IsVisible=True)
|
Hide(self)! rief Make an object hidden. |
Show(self)! rief Make an object visible on the canvas. |
Class Variable Details |
---|
FillStyleList
|
LineStyleList
|
PenList
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:51:26 2009 | http://epydoc.sf.net |