Style settings for drawing elements.
| 6 | |
| 7 | @dataclass |
| 8 | class Style: |
| 9 | """Style settings for drawing elements.""" |
| 10 | |
| 11 | type: Literal["Style"] |
| 12 | |
| 13 | corners: Annotated[ |
| 14 | Optional[Literal["rounded", "sharp"]], |
| 15 | Doc("Corner style of the drawing elements."), |
| 16 | ] = None |
| 17 | line_thickness: Annotated[Optional[int], Doc("Thickness of the lines.")] = None |
| 18 | line_color: Annotated[Optional[str], Doc("CSS-style color code for line color.")] = None |
| 19 | fill_color: Annotated[Optional[str], Doc("CSS-style color code for fill color.")] = None |
| 20 | line_style: Annotated[ |
| 21 | Optional[Literal["solid", "dashed", "dotted"]], |
| 22 | Doc("Style of the line: 'solid', 'dashed', 'dotted'."), |
| 23 | ] = None |
| 24 | |
| 25 | |
| 26 | @dataclass |
no outgoing calls
no test coverage detected
searching dependent graphs…