phoenix_title wx.lib.floatcanvas.FCObjects.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 Class Hierarchy

Inheritance diagram for class XYObjectMixin:

sub_classes Known Subclasses

wx.lib.floatcanvas.FCObjects.Arc, wx.lib.floatcanvas.FCObjects.Arrow, wx.lib.floatcanvas.FCObjects.Circle, wx.lib.floatcanvas.FCObjects.PieChart, wx.lib.floatcanvas.FCObjects.Point, wx.lib.floatcanvas.FCObjects.RectEllipse, wx.lib.floatcanvas.FCObjects.SquarePoint, wx.lib.floatcanvas.FCObjects.TextObjectMixin


method_summary Methods Summary

CalcBoundingBox

Calculate the bounding box.

Move

Moves the object by delta, where delta is a (dx, dy) pair.

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)

Calculate the bounding box.



Move(self, Delta)

Moves the object by delta, where delta is a (dx, dy) pair.

Parameters:

Delta – is a (dx, dy) pair ideally a NumPy array of shape (2, )



SetPoint(self, xy)