phoenix_title wx.lib.ogl.divided.DividedShapeControlPoint

The class:DividedShapeControlPoint class.


class_hierarchy Class Hierarchy

Inheritance diagram for class DividedShapeControlPoint:

super_classes Known Superclasses

wx.lib.ogl.basic.ControlPoint


method_summary Methods Summary

__init__

Default class constructor.

OnBeginDragLeft

The begin drag left handler.

OnDragLeft

The drag left handler.

OnEndDragLeft

The end drag left handler.


api Class API

class DividedShapeControlPoint(ControlPoint)

The class:DividedShapeControlPoint class.


Methods

__init__(self, the_canvas, object, region, size, the_m_xoffset, the_m_yoffset, the_type)

Default class constructor.

Parameters
  • theCanvas – a Canvas

  • object – not used ???

  • region – an instance of ShapeRegion

  • size (float) – the size

  • the_m_xoffset (float) – the the_m_xoffset position ???

  • the_m_yoffset (float) – the the_m_yoffset 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.