mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
fpdf2: annotate draw_color, fill_color, text_color (#9282)
This commit is contained in:
committed by
GitHub
parent
3c9d1bd942
commit
ba0e073430
@@ -1,6 +1,6 @@
|
||||
from typing import ClassVar
|
||||
|
||||
from .drawing import DeviceGray
|
||||
from .drawing import DeviceGray, DeviceRGB
|
||||
|
||||
class GraphicsStateMixin:
|
||||
DEFAULT_DRAW_COLOR: ClassVar[DeviceGray]
|
||||
@@ -8,17 +8,17 @@ class GraphicsStateMixin:
|
||||
DEFAULT_TEXT_COLOR: ClassVar[DeviceGray]
|
||||
def __init__(self, *args, **kwargs) -> None: ...
|
||||
@property
|
||||
def draw_color(self): ...
|
||||
def draw_color(self) -> DeviceGray | DeviceRGB: ...
|
||||
@draw_color.setter
|
||||
def draw_color(self, v) -> None: ...
|
||||
def draw_color(self, v: DeviceGray | DeviceRGB) -> None: ...
|
||||
@property
|
||||
def fill_color(self): ...
|
||||
def fill_color(self) -> DeviceGray | DeviceRGB: ...
|
||||
@fill_color.setter
|
||||
def fill_color(self, v) -> None: ...
|
||||
def fill_color(self, v: DeviceGray | DeviceRGB) -> None: ...
|
||||
@property
|
||||
def text_color(self): ...
|
||||
def text_color(self) -> DeviceGray | DeviceRGB: ...
|
||||
@text_color.setter
|
||||
def text_color(self, v) -> None: ...
|
||||
def text_color(self, v: DeviceGray | DeviceRGB) -> None: ...
|
||||
@property
|
||||
def underline(self): ...
|
||||
@underline.setter
|
||||
|
||||
Reference in New Issue
Block a user