mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
fpdf:annotation of dash_pattern, line_width, text_mode (#9387)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
committed by
GitHub
parent
0e4c59a076
commit
135bbd34a5
@@ -1,6 +1,7 @@
|
||||
from typing import Any, ClassVar
|
||||
|
||||
from .drawing import DeviceGray, DeviceRGB
|
||||
from .enums import TextMode
|
||||
|
||||
class GraphicsStateMixin:
|
||||
DEFAULT_DRAW_COLOR: ClassVar[DeviceGray]
|
||||
@@ -52,17 +53,17 @@ class GraphicsStateMixin:
|
||||
@current_font.setter
|
||||
def current_font(self, v: dict[str, Any]) -> None: ...
|
||||
@property
|
||||
def dash_pattern(self): ...
|
||||
def dash_pattern(self) -> dict[str, float]: ...
|
||||
@dash_pattern.setter
|
||||
def dash_pattern(self, v) -> None: ...
|
||||
def dash_pattern(self, v: dict[str, float]) -> None: ...
|
||||
@property
|
||||
def line_width(self): ...
|
||||
def line_width(self) -> float: ...
|
||||
@line_width.setter
|
||||
def line_width(self, v) -> None: ...
|
||||
def line_width(self, v: float) -> None: ...
|
||||
@property
|
||||
def text_mode(self): ...
|
||||
def text_mode(self) -> TextMode: ...
|
||||
@text_mode.setter
|
||||
def text_mode(self, v) -> None: ...
|
||||
def text_mode(self, v: int | str) -> None: ...
|
||||
@property
|
||||
def char_vpos(self): ...
|
||||
@char_vpos.setter
|
||||
|
||||
Reference in New Issue
Block a user