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
()unset_state
()
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.