wx.lib.ogl.basic.ShapeTextLine¶
The ShapeTextLine
class.
Class Hierarchy¶
Methods Summary¶
Default class constructor. |
|
Get the text. |
|
Get the x position. |
|
Get the y position. |
|
Set the text. |
|
Set the x position. |
|
Set the y position. |
Class API¶
- class ShapeTextLine(object)¶
The
ShapeTextLine
class.
Methods¶
- __init__(self, the_x, the_y, the_line)¶
Default class constructor.
- Parameters:
the_x (int) – the x position
the_y (int) – the y position
the_line (str) – the text
- GetText(self)¶
Get the text.
- GetX(self)¶
Get the x position.
- GetY(self)¶
Get the y position.
- SetText(self, text)¶
Set the text.
- Parameters:
text (str) – the text
- SetX(self, x)¶
Set the x position.
- Parameters:
x (int) – the x position
- SetY(self, y)¶
Set the y position.
- Parameters:
y (int) – the x position