Skip to content

Commit

Permalink
fix type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
MyreMylar committed Oct 5, 2024
1 parent d4e0112 commit b36454f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion buildconfig/stubs/pygame/transform.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ def scale_by(
dest_surface: Optional[Surface] = None,
) -> Surface: ...
def rotate(surface: Surface, angle: float) -> Surface: ...
def skew(surface: Surface, points: Sequence[Coordinate], bg_color: Optional[Union[ColorValue, None]] = None, adjust_size: Optional[bool] = False, dest_surface: Optional[Surface] = None) -> Surface: ...
def skew(surface: Surface, points: SequenceLike[Point],
bg_color: Optional[Union[ColorLike, None]] = None,
adjust_size: Optional[bool] = False,
dest_surface: Optional[Surface] = None) -> Surface: ...
def rotozoom(surface: Surface, angle: float, scale: float) -> Surface: ...
def scale2x(surface: Surface, dest_surface: Optional[Surface] = None) -> Surface: ...
def grayscale(surface: Surface, dest_surface: Optional[Surface] = None) -> Surface: ...
Expand Down

0 comments on commit b36454f

Please sign in to comment.