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 = pygame.math.Vector2 | tuple[int, int]

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