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

Class Point

ColorOnlyMixin --+
                 |
    DrawObject --+
                 |
 XYObjectMixin --+
                 |
                Point


The Point class takes a 2-tuple, or a (2,) NumPy array of point coordinates.

The Diameter is in screen points, not world coordinates, So the Bounding box is just the point, and doesn't include the Diameter.

The HitLineWidth is used as diameter for the Hit Test.


Method Summary
  __init__(self, XY, Color, Diameter, InForeground)
  SetDiameter(self, Diameter)
    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 ColorOnlyMixin
  SetColor(self, Color)
  SetFillColor(self, Color)

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:41:32 2007 http://epydoc.sf.net