Phoenix Logo

phoenix_title wx.lib.ogl.basic.ShapeTextLine

The ShapeTextLine class.


class_hierarchy Class Hierarchy

Inheritance diagram for class ShapeTextLine:


method_summary Methods Summary

__init__ Default class constructor.
GetText Get the text.
GetX Get the x position.
GetY Get the y position.
SetText Set the text.
SetX Set the x position.
SetY Set the y position.

api 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