diff --git a/python_payload/mypystubs/ctx.pyi b/python_payload/mypystubs/ctx.pyi index 24dbe68bd4d8e0e369535b2e0d9ed9f6935d0279..079e4c6cb2cb534773a4b0362d7892a46f55a447 100644 --- a/python_payload/mypystubs/ctx.pyi +++ b/python_payload/mypystubs/ctx.pyi @@ -29,9 +29,19 @@ class Context(Protocol): global_alpha: float = 1.0 font: str = "" + ALPHABETIC: str = "alphabetic" + TOP: str = "top" + HANGING: str = "hanging" + MIDDLE: str = "middle" + IDEOGRAPHIC: str = "ideographic" + BOTTOM: str = "bottom" + + START: str = "start" + END: str = "end" + JUSTIFY: str = "justify" CENTER: str = "center" + LEFT: str = "left" RIGHT: str = "right" - MIDDLE: str = "middle" def __init__(self) -> None: ... def text_width(self, text: str) -> float: