MCPcopy Create free account
hub / github.com/microsoft/TypeChat / Style

Class Style

python/examples/drawing/schema.py:8–23  ·  view source on GitHub ↗

Style settings for drawing elements.

Source from the content-addressed store, hash-verified

6
7@dataclass
8class 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

Callers 1

render.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…