mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
tkinter.Canvas: fix dash (#5867)
This commit is contained in:
@@ -1115,16 +1115,16 @@ class Canvas(Widget, XView, YView):
|
||||
__x1: float,
|
||||
__y1: float,
|
||||
*,
|
||||
activedash: _Color = ...,
|
||||
activedash: str | _TkinterSequence[int] = ...,
|
||||
activefill: _Color = ...,
|
||||
activestipple: str = ...,
|
||||
activewidth: _ScreenUnits = ...,
|
||||
arrow: Literal["first", "last", "both"] = ...,
|
||||
arrowshape: Tuple[float, float, float] = ...,
|
||||
capstyle: Literal["round", "projecting", "butt"] = ...,
|
||||
dash: Union[Tuple[float], Tuple[float, float], Tuple[float, float, float, float]] = ...,
|
||||
dash: str | _TkinterSequence[int] = ...,
|
||||
dashoffset: _ScreenUnits = ...,
|
||||
disableddash: _Color = ...,
|
||||
disableddash: str | _TkinterSequence[int] = ...,
|
||||
disabledfill: _Color = ...,
|
||||
disabledstipple: _Bitmap = ...,
|
||||
disabledwidth: _ScreenUnits = ...,
|
||||
@@ -1145,15 +1145,15 @@ class Canvas(Widget, XView, YView):
|
||||
__x1: float,
|
||||
__y1: float,
|
||||
*,
|
||||
activedash: _Color = ...,
|
||||
activedash: str | _TkinterSequence[int] = ...,
|
||||
activefill: _Color = ...,
|
||||
activeoutline: _Color = ...,
|
||||
activeoutlinestipple: _Color = ...,
|
||||
activestipple: str = ...,
|
||||
activewidth: _ScreenUnits = ...,
|
||||
dash: Union[Tuple[float], Tuple[float, float], Tuple[float, float, float, float]] = ...,
|
||||
dash: str | _TkinterSequence[int] = ...,
|
||||
dashoffset: _ScreenUnits = ...,
|
||||
disableddash: _Color = ...,
|
||||
disableddash: str | _TkinterSequence[int] = ...,
|
||||
disabledfill: _Color = ...,
|
||||
disabledoutline: _Color = ...,
|
||||
disabledoutlinestipple: _Color = ...,
|
||||
@@ -1176,15 +1176,15 @@ class Canvas(Widget, XView, YView):
|
||||
__x1: float,
|
||||
__y1: float,
|
||||
*xy_pairs: float,
|
||||
activedash: _Color = ...,
|
||||
activedash: str | _TkinterSequence[int] = ...,
|
||||
activefill: _Color = ...,
|
||||
activeoutline: _Color = ...,
|
||||
activeoutlinestipple: _Color = ...,
|
||||
activestipple: str = ...,
|
||||
activewidth: _ScreenUnits = ...,
|
||||
dash: Union[Tuple[float], Tuple[float, float], Tuple[float, float, float, float]] = ...,
|
||||
dash: str | _TkinterSequence[int] = ...,
|
||||
dashoffset: _ScreenUnits = ...,
|
||||
disableddash: _Color = ...,
|
||||
disableddash: str | _TkinterSequence[int] = ...,
|
||||
disabledfill: _Color = ...,
|
||||
disabledoutline: _Color = ...,
|
||||
disabledoutlinestipple: _Color = ...,
|
||||
@@ -1210,15 +1210,15 @@ class Canvas(Widget, XView, YView):
|
||||
__x1: float,
|
||||
__y1: float,
|
||||
*,
|
||||
activedash: _Color = ...,
|
||||
activedash: str | _TkinterSequence[int] = ...,
|
||||
activefill: _Color = ...,
|
||||
activeoutline: _Color = ...,
|
||||
activeoutlinestipple: _Color = ...,
|
||||
activestipple: str = ...,
|
||||
activewidth: _ScreenUnits = ...,
|
||||
dash: Union[Tuple[float], Tuple[float, float], Tuple[float, float, float, float]] = ...,
|
||||
dash: str | _TkinterSequence[int] = ...,
|
||||
dashoffset: _ScreenUnits = ...,
|
||||
disableddash: _Color = ...,
|
||||
disableddash: str | _TkinterSequence[int] = ...,
|
||||
disabledfill: _Color = ...,
|
||||
disabledoutline: _Color = ...,
|
||||
disabledoutlinestipple: _Color = ...,
|
||||
|
||||
Reference in New Issue
Block a user