pyglet.customtypes

Holds type aliases used throughout the codebase.

class Buffer
Buffer = <class 'collections.abc.Buffer'>
HorizontalAlign

alias of Literal[‘left’, ‘center’, ‘right’]

AnchorX

alias of Literal[‘left’, ‘center’, ‘right’]

AnchorY

alias of Literal[‘top’, ‘bottom’, ‘center’, ‘baseline’]

ContentVAlign

alias of Literal[‘bottom’, ‘center’, ‘top’]