.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2020 by Total Control Software License: wxWindows License .. include:: headings.inc .. currentmodule:: wx.lib.ogl.basic .. highlight:: python .. _wx.lib.ogl.basic.TextShape: ========================================================================================================================================== |phoenix_title| **wx.lib.ogl.basic.TextShape** ========================================================================================================================================== The :class:`TextShape` class like :class:`wx.RectangleShape` but only the text is displayed. | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class TextShape:
| |super_classes| Known Superclasses ================================== :class:`wx.lib.ogl.basic.RectangleShape` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.lib.ogl.basic.TextShape.__init__` Default class constructor :meth:`~wx.lib.ogl.basic.TextShape.OnDraw` not implemented??? ================================================================================ ================================================================================ | |api| Class API =============== .. class:: TextShape(RectangleShape) The :class:`TextShape` class like :class:`wx.RectangleShape` but only the text is displayed. .. method:: __init__(self, width, height) Default class constructor :param `width`: the width :param `height`: the height .. method:: OnDraw(self, dc) not implemented???