init
This commit is contained in:
commit
38355d2442
9083 changed files with 1225834 additions and 0 deletions
19
.venv/lib/python3.8/site-packages/pygame/pixelcopy.pyi
Normal file
19
.venv/lib/python3.8/site-packages/pygame/pixelcopy.pyi
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import numpy
|
||||
from typing_extensions import Literal
|
||||
|
||||
from pygame.surface import Surface
|
||||
|
||||
_kind = Literal["P", "p", "R", "r", "G", "g", "B", "b", "A", "a", "C", "c"]
|
||||
|
||||
def surface_to_array(
|
||||
array: numpy.ndarray,
|
||||
surface: Surface,
|
||||
kind: _kind = "P",
|
||||
opaque: int = 255,
|
||||
clear: int = 0,
|
||||
) -> None: ...
|
||||
def array_to_surface(surface: Surface, array: numpy.ndarray) -> None: ...
|
||||
def map_to_array(
|
||||
array1: numpy.ndarray, array2: numpy.ndarray, surface: Surface
|
||||
) -> None: ...
|
||||
def make_surface(array: numpy.ndarray) -> Surface: ...
|
||||
Loading…
Add table
Add a link
Reference in a new issue