# Generated by scripts/generate_pyi.py, do not edit.

from typing import Any, Callable

import renpy

import builtins as __builtins__

class Polygon:
    def __init__(self, allocate_points: int): ...

    def __reduce__(self): ...

    def __repr__(self, /): ...

    def __setstate__(self, __pyx_state): ...

    def copy(self) -> 'Polygon': ...

    def ensure_winding(self) -> None: ...

    @staticmethod
    def from_list(l: list): ...

    def intersect(self, p: 'Polygon') -> 'Polygon': ...

    def multiply_matrix(self, m: 'Matrix') -> 'Polygon': ...

    def multiply_matrix_inplace(self, m: 'Matrix') -> None: ...

    def offset(self, x: float, y: float) -> 'Polygon': ...

    def offset_inplace(self, x: float, y: float) -> None: ...

    @staticmethod
    def rectangle(l: float, b: float, r: float, t: float): ...


