mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-02 18:20:01 +08:00
x
This commit is contained in:
@@ -367,7 +367,7 @@ class BuildImage:
|
||||
|
||||
async def atext(
|
||||
self,
|
||||
pos: Tuple[int, int],
|
||||
pos: Union[Tuple[int, int], Tuple[float, float]],
|
||||
text: str,
|
||||
fill: Union[str, Tuple[int, int, int]] = (0, 0, 0),
|
||||
center_type: Optional[Literal["center", "by_height", "by_width"]] = None,
|
||||
@@ -385,7 +385,7 @@ class BuildImage:
|
||||
|
||||
def text(
|
||||
self,
|
||||
pos: Tuple[int, int],
|
||||
pos: Union[Tuple[int, int], Tuple[float, float]],
|
||||
text: str,
|
||||
fill: Union[str, Tuple[int, int, int]] = (0, 0, 0),
|
||||
center_type: Optional[Literal["center", "by_height", "by_width"]] = None,
|
||||
|
||||
Reference in New Issue
Block a user