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

Class XYObjectMixin

Known Subclasses:
Arc, Arrow, Circle, Point, RectEllipse, SquarePoint, TextObjectMixin

This is a mixin class that provides some methods suitable for use with objects that have a single (x,y) coordinate pair.


Method Summary
  CalcBoundingBox(self)
  Move(self, Delta)
Move(Delta): moves the object by delta, where delta is a (dx,dy) pair.
  SetPoint(self, xy)

Method Details

Move(self, Delta)

Move(Delta): moves the object by delta, where delta is a (dx,dy) pair. Ideally a Numpy array of shape (2,)


Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:54:23 2009 http://epydoc.sf.net