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

Module wx.lib.floatcanvas.FloatCanvas

Classes
Arrow Arrow(XY, # coords of origin of arrow (x,y) Length, # length of arrow in pixels theta, # angle of arrow in degrees: zero is straight up # angle is to the right LineColor = "Black", LineStyle = "Solid", LineWidth = 1, ArrowHeadSize = 4, ArrowHeadAngle = 45, InForeground = False): It will draw an arrow , starting at the point, (X,Y) pointing in direction, theta.
Circle  
ColorOnlyMixin Mixin class for objects that have just one color, rather than a fill color and line color
DrawObject This is the base class for all the objects that can be drawn.
Ellipse  
FloatCanvas FloatCanvas.py
Line The Line class takes a list of 2-tuples, or a NX2 NumPy Float array of point coordinates.
LineAndFillMixin Mixin class for objects that have both a line and a fill color and style.
LineOnlyMixin Mixin class for objects that have just one color, rather than a fill color and line color
Point The Point class takes a 2-tuple, or a (2,) NumPy array of point coordinates.
PointSet The PointSet class takes a list of 2-tuples, or a NX2 NumPy array of point coordinates.
PointsObjectMixin This is a mixin class that provides some methods suitable for use with objects that have a set of (x,y) coordinate pairs.
Polygon The Polygon class takes a list of 2-tuples, or a NX2 NumPy array of point coordinates.
Rectangle  
RectEllipse  
ScaledText This class creates a text object that is scaled when zoomed.
Text This class creates a text object, placed at the coordinates, x,y.
TextObjectMixin A mix in class that holds attributes and methods that are needed by the Text objects
XYObjectMixin This is a mixin class that provides some methods suitable for use with objects that have a single (x,y) coordinate pair.

Exceptions
FloatCanvasError  

Function Summary
  EVT_LEFT_DCLICK(window, function)
  EVT_LEFT_DOWN(window, function)
  EVT_LEFT_UP(window, function)
  EVT_MIDDLE_DCLICK(window, function)
  EVT_MIDDLE_DOWN(window, function)
  EVT_MIDDLE_UP(window, function)
  EVT_MOTION(window, function)
  EVT_MOUSEWHEEL(window, function)
  EVT_RIGHT_DCLICK(window, function)
  EVT_RIGHT_DOWN(window, function)
  EVT_RIGHT_UP(window, function)

Variable Summary
int EVT_FC_ENTER_OBJECT = 10269                                                                 
int EVT_FC_LEAVE_OBJECT = 10270                                                                 
int EVT_FC_LEFT_DCLICK = 10260                                                                 
int EVT_FC_LEFT_DOWN = 10258                                                                 
int EVT_FC_LEFT_UP = 10259                                                                 
int EVT_FC_MIDDLE_DCLICK = 10263                                                                 
int EVT_FC_MIDDLE_DOWN = 10261                                                                 
int EVT_FC_MIDDLE_UP = 10262                                                                 
int EVT_FC_MOTION = 10267                                                                 
int EVT_FC_MOUSEWHEEL = 10268                                                                 
int EVT_FC_RIGHT_DCLICK = 10266                                                                 
int EVT_FC_RIGHT_DOWN = 10264                                                                 
int EVT_FC_RIGHT_UP = 10265                                                                 

Variable Details

EVT_FC_ENTER_OBJECT

Type:
int
Value:
10269                                                                 

EVT_FC_LEAVE_OBJECT

Type:
int
Value:
10270                                                                 

EVT_FC_LEFT_DCLICK

Type:
int
Value:
10260                                                                 

EVT_FC_LEFT_DOWN

Type:
int
Value:
10258                                                                 

EVT_FC_LEFT_UP

Type:
int
Value:
10259                                                                 

EVT_FC_MIDDLE_DCLICK

Type:
int
Value:
10263                                                                 

EVT_FC_MIDDLE_DOWN

Type:
int
Value:
10261                                                                 

EVT_FC_MIDDLE_UP

Type:
int
Value:
10262                                                                 

EVT_FC_MOTION

Type:
int
Value:
10267                                                                 

EVT_FC_MOUSEWHEEL

Type:
int
Value:
10268                                                                 

EVT_FC_RIGHT_DCLICK

Type:
int
Value:
10266                                                                 

EVT_FC_RIGHT_DOWN

Type:
int
Value:
10264                                                                 

EVT_FC_RIGHT_UP

Type:
int
Value:
10265                                                                 

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