wx.lib.ogl.composit.DivisionControlPoint¶
The wx.ControlPoint
class.
Class Hierarchy¶
Known Superclasses¶
Methods Summary¶
Default class constructor |
|
The begin drag left handler. |
|
The drag left handler. |
|
The end drag left handler. |
Class API¶
- class DivisionControlPoint(ControlPoint)¶
The
wx.ControlPoint
class.
Methods¶
- __init__(self, the_canvas, object, size, the_xoffset, the_yoffset, the_type)¶
Default class constructor
- Parameters:
theCanvas – a
Canvas
object – the shape, instance of
Shape
size (float) – the size
the_xoffset (float) – the x position
the_yoffset (float) – the y position
the_type (int) – one of the following types ???
Control point type
Description
CONTROL_POINT_VERTICAL
Vertical
CONTROL_POINT_HORIZONTAL
Horizontal
CONTROL_POINT_DIAGONAL
Diagonal
- OnBeginDragLeft(self, x, y, keys=0, attachment=0)¶
The begin drag left handler.
- OnDragLeft(self, draw, x, y, keys=0, attachment=0)¶
The drag left handler.
- OnEndDragLeft(self, x, y, keys=0, attachment=0)¶
The end drag left handler.