phoenix_title wx.lib.ogl.lines.LineControlPoint

The LineControlPoint class.


class_hierarchy Class Hierarchy

Inheritance diagram for class LineControlPoint:

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.

OnDraw

The draw handler.

OnEndDragLeft

The end drag left handler.


api Class API

class LineControlPoint(ControlPoint)

The LineControlPoint class.


Methods

__init__(self, theCanvas = None, object = None, size = 0.0, x = 0.0, y = 0.0, the_type = 0)

Default class constructor.

Parameters
  • theCanvas – a Canvas

  • object – not used ???

  • size (float) – the size

  • x (float) – the x position

  • y (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.



OnDraw(self, dc)

The draw handler.



OnEndDragLeft(self, x, y, keys = 0, attachment = 0)

The end drag left handler.