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

Class Ellipse

python/examples/drawing/schema.py:41–51  ·  view source on GitHub ↗

An ellipse defined by its bounding box dimensions.

Source from the content-addressed store, hash-verified

39
40@dataclass
41class Ellipse:
42 """An ellipse defined by its bounding box dimensions."""
43
44 type: Literal["Ellipse"]
45
46 x: Annotated[int, Doc("X-coordinate of the top left corner of the bounding box.")]
47 y: Annotated[int, Doc("Y-coordinate of the top left corner of the bounding box.")]
48 width: Annotated[int, Doc("Width of the bounding box.")]
49 height: Annotated[int, Doc("Height of the bounding box.")]
50 text: Annotated[Optional[str], Doc("Optional text centered in the box.")] = None
51 style: Annotated[Optional[Style], Doc("Optional style settings for the ellipse.")] = None
52
53
54@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…