init
This commit is contained in:
commit
38355d2442
9083 changed files with 1225834 additions and 0 deletions
25
.venv/lib/python3.8/site-packages/pygame/surfarray.pyi
Normal file
25
.venv/lib/python3.8/site-packages/pygame/surfarray.pyi
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
from typing import Tuple
|
||||
|
||||
import numpy
|
||||
|
||||
from pygame.surface import Surface
|
||||
|
||||
def array2d(surface: Surface) -> numpy.ndarray: ...
|
||||
def pixels2d(surface: Surface) -> numpy.ndarray: ...
|
||||
def array3d(surface: Surface) -> numpy.ndarray: ...
|
||||
def pixels3d(surface: Surface) -> numpy.ndarray: ...
|
||||
def array_alpha(surface: Surface) -> numpy.ndarray: ...
|
||||
def pixels_alpha(surface: Surface) -> numpy.ndarray: ...
|
||||
def array_red(surface: Surface) -> numpy.ndarray: ...
|
||||
def pixels_red(surface: Surface) -> numpy.ndarray: ...
|
||||
def array_green(surface: Surface) -> numpy.ndarray: ...
|
||||
def pixels_green(surface: Surface) -> numpy.ndarray: ...
|
||||
def array_blue(surface: Surface) -> numpy.ndarray: ...
|
||||
def pixels_blue(surface: Surface) -> numpy.ndarray: ...
|
||||
def array_colorkey(surface: Surface) -> numpy.ndarray: ...
|
||||
def make_surface(array: numpy.ndarray) -> Surface: ...
|
||||
def blit_array(surface: Surface, array: numpy.ndarray) -> None: ...
|
||||
def map_array(surface: Surface, array3d: numpy.ndarray) -> numpy.ndarray: ...
|
||||
def use_arraytype(arraytype: str) -> None: ...
|
||||
def get_arraytype() -> str: ...
|
||||
def get_arraytypes() -> Tuple[str]: ...
|
||||
Loading…
Add table
Add a link
Reference in a new issue