Table Of Contents

Previous topic

TextObjectMixin

Next topic

GUIMode

This Page

phoenix_title XYObjectMixin

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


class_hierarchy Inheritance Diagram

Inheritance diagram for class XYObjectMixin

Inheritance diagram of XYObjectMixin


method_summary Methods Summary

CalcBoundingBox  
Move Move(Delta): moves the object by delta, where delta is a
SetPoint  

api Class API



class XYObjectMixin

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


Methods



CalcBoundingBox(self)


Move(self, Delta)

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



SetPoint(self, xy)