Types

Defines typing for structures having specific meaning.

pygamepopup.types.Margin

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

pygamepopup.types.Position

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

alias of Union[Vector2, tuple[int, int]]