mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-26 07:04:45 +03:00
Use Color type for fillcolor
This commit is contained in:
parent
2e94a2e649
commit
b2b035fb32
|
@ -2158,7 +2158,7 @@ class Image(object):
|
|||
# instead of bloating the method docs, add a separate chapter.
|
||||
def transform(self, size, method, data=None, resample=NEAREST,
|
||||
fill=1, fillcolor=None):
|
||||
# type: (Size, int, Optional[List[float]], int, int, Optional[Union[int, float, Tuple, Text]]) -> Image
|
||||
# type: (Size, int, Optional[List[float]], int, int, Optional[Color]) -> Image
|
||||
"""
|
||||
Transforms this image. This method creates a new image with the
|
||||
given size, and the same mode as the original, and copies data
|
||||
|
|
Loading…
Reference in New Issue
Block a user