TextLayoutGroup Class

Inheritance diagram of TextLayoutGroup

class TextLayoutGroup(parent=None)

Top-level rendering group for TextLayout.

The blend function is set for glyph rendering (GL_SRC_ALPHA / GL_ONE_MINUS_SRC_ALPHA). The group is shared by all TextLayout instances as it has no internal state.

Constructor:

__init__(parent=None)

Create a group.

Parameters:parent (Group) – Group to contain this group; its state will be set before this state’s.

Methods:

set_state()
set_state_recursive() Set this group and its ancestry.
unset_state()
unset_state_recursive() Unset this group and its ancestry.

Methods

TextLayoutGroup.set_state()
TextLayoutGroup.unset_state()

Inherited members

Methods

TextLayoutGroup.set_state_recursive()

Set this group and its ancestry.

Call this method if you are using a group in isolation: the parent groups will be called in top-down order, with this class’s set being called last.

TextLayoutGroup.unset_state_recursive()

Unset this group and its ancestry.

The inverse of set_state_recursive.

Table Of Contents

Previous topic

TextLayoutForegroundGroup Class

Next topic

TextLayoutTextureGroup Class