glooey.drawing.stencil.StencilMask¶
- class glooey.drawing.stencil.StencilMask(parent=None, order=0)[source]¶
Bases:
pyglet.graphics.OrderedGroupPublic Methods:
__init__([parent, order])Create an ordered group.
Apply the OpenGL state change.
Repeal the OpenGL state change.
Inherited from
OrderedGroup__init__([parent, order])Create an ordered group.
__lt__(other)Return self<value.
__eq__(other)Return self==value.
__hash__()Return hash(self).
__repr__()Return repr(self).
- __dict__ = mappingproxy({'__module__': 'glooey.drawing.stencil', '__init__': <function StencilMask.__init__>, 'set_state': <function StencilMask.set_state>, 'unset_state': <function StencilMask.unset_state>, '__doc__': None, '__annotations__': {}})¶
- __eq__(other)¶
Return self==value.
- __hash__()¶
Return hash(self).
- __init__(parent=None, order=0)[source]¶
Create an ordered group.
- Parameters
orderintOrder of this group.
parentGroupParent of this group.
- __lt__(other)¶
Return self<value.
- __module__ = 'glooey.drawing.stencil'¶
- __repr__()¶
Return repr(self).
- __weakref__¶
list of weak references to the object (if defined)
- property batches¶
- 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
setbeing called last.
- unset_state_recursive()¶
Unset this group and its ancestry.
The inverse of
set_state_recursive.
- property visible¶