Types

Defines typing for structures having specific meaning.

pygamepopup.type_definitions.Margin

Alias for tuple[int, int, int, int]

alias of tuple[int, int, int, int]

pygamepopup.type_definitions.Position

Alias for pygame.Vector2. A tuple[int, int] can alternatively be given in place of it.

alias of Vector2 | tuple[int, int]