wx.lib.ogl.basic.ControlPoint¶The wx.ControlPoint class.
Known Subclasses¶wx.lib.ogl.basic.PolygonControlPoint, wx.lib.ogl.composit.DivisionControlPoint, wx.lib.ogl.divided.DividedShapeControlPoint, wx.lib.ogl.lines.LineControlPoint
Methods Summary¶__init__ |
Default class constructor |
GetAttachmentPosition |
Get the attachment position. |
GetNumberOfAttachments |
Get the number of attachments. |
OnBeginDragLeft |
The begin drag left handler. |
OnDragLeft |
The drag left handler. |
OnDraw |
The draw handler. |
OnDrawContents |
not implemented??? |
OnEndDragLeft |
The end drag left handler. |
OnErase |
The erase handler. |
SetEraseObject |
Set the erase object ??? |
Class API¶ControlPoint(RectangleShape)¶The wx.ControlPoint class.
__init__(self, theCanvas, object, size, the_xoffset, the_yoffset, the_type)¶Default class constructor
| Parameters: |
|
|---|
GetAttachmentPosition(self, attachment, nth = 0, no_arcs = 1, line = None)¶Get the attachment position.
| Parameters: |
|
|---|
GetNumberOfAttachments(self)¶Get the number of attachments.
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.
OnDrawContents(self, dc)¶not implemented???
OnEndDragLeft(self, x, y, keys = 0, attachment = 0)¶The end drag left handler.
OnErase(self, dc)¶The erase handler.
SetEraseObject(self, er)¶Set the erase object ???
| Parameters: | er – the object |
|---|