mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-26 07:04:45 +03:00
Type annotations: _imaging.pyi: Add preliminary merge() stub.
This commit is contained in:
parent
6353c153f9
commit
f4765c9750
|
@ -14,6 +14,9 @@ def alpha_composite(core1: ImagingCore, core2: ImagingCore) -> ImagingCore: ...
|
|||
def blend(core1: ImagingCore, core2: ImagingCore, alpha: float) -> ImagingCore: ...
|
||||
def fill(mode: Mode, size: Size, color: Any) -> Any: ...
|
||||
def new(mode: Mode, size: Size) -> ImagingCore: ...
|
||||
def merge(mode: Mode, im1: ImagingCore, im2: ImagingCore=...,
|
||||
im3: ImagingCore=..., im4: ImagingCore=...) -> ImagingCore: ...
|
||||
### FIXME: Are these merge values defaults or Optional?
|
||||
|
||||
def map_buffer(target_data: Any, size: Size, decoder_name: Text,
|
||||
bbox: Optional[Any], offset: int, args: Tuple[Mode, int, int]
|
||||
|
|
Loading…
Reference in New Issue
Block a user