|
1 |
| -from typing import ClassVar |
| 1 | +from typing import Any, ClassVar |
2 | 2 |
|
3 | 3 | from .drawing import DeviceGray, DeviceRGB
|
4 | 4 |
|
@@ -32,25 +32,25 @@ class GraphicsStateMixin:
|
32 | 32 | @font_stretching.setter
|
33 | 33 | def font_stretching(self, v: float) -> None: ...
|
34 | 34 | @property
|
35 |
| - def char_spacing(self): ... |
| 35 | + def char_spacing(self) -> float: ... |
36 | 36 | @char_spacing.setter
|
37 |
| - def char_spacing(self, v) -> None: ... |
| 37 | + def char_spacing(self, v: float) -> None: ... |
38 | 38 | @property
|
39 |
| - def font_family(self): ... |
| 39 | + def font_family(self) -> str: ... |
40 | 40 | @font_family.setter
|
41 |
| - def font_family(self, v) -> None: ... |
| 41 | + def font_family(self, v: str) -> None: ... |
42 | 42 | @property
|
43 |
| - def font_size_pt(self): ... |
| 43 | + def font_size_pt(self) -> float: ... |
44 | 44 | @font_size_pt.setter
|
45 |
| - def font_size_pt(self, v) -> None: ... |
| 45 | + def font_size_pt(self, v: float) -> None: ... |
46 | 46 | @property
|
47 |
| - def font_size(self): ... |
| 47 | + def font_size(self) -> float: ... |
48 | 48 | @font_size.setter
|
49 |
| - def font_size(self, v) -> None: ... |
| 49 | + def font_size(self, v: float) -> None: ... |
50 | 50 | @property
|
51 |
| - def current_font(self): ... |
| 51 | + def current_font(self) -> dict[str, Any]: ... |
52 | 52 | @current_font.setter
|
53 |
| - def current_font(self, v) -> None: ... |
| 53 | + def current_font(self, v: dict[str, Any]) -> None: ... |
54 | 54 | @property
|
55 | 55 | def dash_pattern(self): ...
|
56 | 56 | @dash_pattern.setter
|
|
0 commit comments