TextLayoutForegroundDecorationGroup Class

Inheritance diagram of TextLayoutForegroundDecorationGroup

class TextLayoutForegroundDecorationGroup(order, parent=None)

Rendering group for decorative elements (e.g., glyph underlines) in all text layouts.

The group disables 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:

set_state()
set_state_recursive() Set this group and its ancestry.
unset_state() Repeal the OpenGL state change.
unset_state_recursive() Unset this group and its ancestry.

Methods

TextLayoutForegroundDecorationGroup.set_state()

Inherited members

Methods

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

TextLayoutForegroundDecorationGroup.unset_state()

Repeal the OpenGL state change.

The default implementation does nothing.

TextLayoutForegroundDecorationGroup.unset_state_recursive()

Unset this group and its ancestry.

The inverse of set_state_recursive.

Table Of Contents

Previous topic

TextLayout Class

Next topic

TextLayoutForegroundGroup Class