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

Class Arrow

   DrawObject --+
                |
LineOnlyMixin --+
                |
XYObjectMixin --+
                |
               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.

Method Summary
  __init__(self, XY, Length, Direction, LineColor, LineStyle, LineWidth, ArrowHeadSize, ArrowHeadAngle, InForeground)
  CalcArrowPoints(self)
  SetDirection(self, Direction)
  SetLength(self, Length)
  SetLengthDirection(self, Length, Direction)
    Inherited from DrawObject
  Bind(self, Event, CallBackFun)
  Hide(self)
  PutInBackground(self)
  PutInForeground(self)
  SetBrush(self, FillColor, FillStyle)
  SetHitBrush(self, HitColor)
  SetHitPen(self, HitColor, LineWidth)
  SetPen(self, LineColor, LineStyle, LineWidth)
  Show(self)
  UnBindAll(self)
    Inherited from XYObjectMixin
  CalcBoundingBox(self)
  Move(self, Delta)
Move(Delta): moves the object by delta, where delta is a (dx,dy) pair.
  SetPoint(self, xy)
    Inherited from LineOnlyMixin
  SetLineColor(self, LineColor)
  SetLineStyle(self, LineStyle)
  SetLineWidth(self, LineWidth)

Class Variable Summary
    Inherited from DrawObject
dict BrushList = {('MediumGrey', 'Solid'): wxPython wrapper f...
dict FillStyleList = {'CrossHatch': 114, 'FDiagonal_Hatch': 1...
dict LineStyleList = {'Solid': 100, 'ShortDash': 103, 'Dot': ...
dict PenList = {('LightGrey', 'Solid', 1): wxPython wrapper f...

Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 16:56:46 2007 http://epydoc.sf.net