TextLayoutForegroundGroup Class

Inheritance diagram of TextLayoutForegroundGroup

class TextLayoutForegroundGroup(order, parent=None)

Rendering group for foreground elements (glyphs) in all text layouts.

The group enables GL_TEXTURE_2D.

Constructor:

__init__(order, parent=None)

Create an ordered group.

Parameters:
  • order (int) – Order of this group.
  • parent (Group) – Parent of this group.

Methods:

Methods

TextLayoutForegroundGroup.set_state()

Inherited members

Methods

TextLayoutForegroundGroup.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.

TextLayoutForegroundGroup.unset_state()

Repeal the OpenGL state change.

The default implementation does nothing.

TextLayoutForegroundGroup.unset_state_recursive()

Unset this group and its ancestry.

The inverse of set_state_recursive.

Table Of Contents

Previous topic

TextLayoutForegroundDecorationGroup Class

Next topic

TextLayoutGroup Class