From 503eab31d7e11fbe7f458a3e96ba9fa1907ce3a3 Mon Sep 17 00:00:00 2001 From: AMBER MURTUZA ANSARI <44660082+AmberAnsari89@users.noreply.github.com> Date: Mon, 5 Dec 2022 20:32:15 +0530 Subject: [PATCH] fpdf:annotation of underline, font_style, font_streching (#9327) Co-authored-by: Alex Waygood --- stubs/fpdf2/fpdf/graphics_state.pyi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/stubs/fpdf2/fpdf/graphics_state.pyi b/stubs/fpdf2/fpdf/graphics_state.pyi index 02551f488..9c504f7e7 100644 --- a/stubs/fpdf2/fpdf/graphics_state.pyi +++ b/stubs/fpdf2/fpdf/graphics_state.pyi @@ -20,17 +20,17 @@ class GraphicsStateMixin: @text_color.setter def text_color(self, v: DeviceGray | DeviceRGB) -> None: ... @property - def underline(self): ... + def underline(self) -> bool: ... @underline.setter - def underline(self, v) -> None: ... + def underline(self, v: bool) -> None: ... @property - def font_style(self): ... + def font_style(self) -> str: ... @font_style.setter - def font_style(self, v) -> None: ... + def font_style(self, v: str) -> None: ... @property - def font_stretching(self): ... + def font_stretching(self) -> float: ... @font_stretching.setter - def font_stretching(self, v) -> None: ... + def font_stretching(self, v: float) -> None: ... @property def char_spacing(self): ... @char_spacing.setter