mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-26 07:04:45 +03:00
Type annotations: aliases.py: Add Color type-alias (no Text).
This commit is contained in:
parent
1af865813d
commit
1c0acf8a04
|
@ -10,3 +10,4 @@ Matrix4 = Tuple[float, float, float, float]
|
|||
Matrix12 = Tuple[float, float, float, float, float, float, float, float, float, float, float, float]
|
||||
Mode = str
|
||||
Extrema = Union[Tuple[float, float], Tuple[int, int], Tuple[Tuple[int, int], ...]]
|
||||
Color = Union[int, float, Tuple[int, int], Tuple[int, int, int], Tuple[int, int, int, int]]
|
||||
|
|
Loading…
Reference in New Issue
Block a user