Color arguments also take (r,g,b,a) tuples (#6148)

This commit is contained in:
Nikita Sobolev
2021-10-11 15:56:59 +03:00
committed by GitHub
parent 498f1aa41d
commit 023c4dff67

View File

@@ -5,7 +5,7 @@ from typing_extensions import Literal
from .Image import Image
from .ImageFont import _Font
_Ink = Union[str, int, Tuple[int, int, int]]
_Ink = Union[str, int, Tuple[int, int, int], Tuple[int, int, int, int]]
_XY = Sequence[Union[float, Tuple[float, float]]]
_Outline = Any