ellipse_path
The path of the ellipse that fills a box, as SVG path data: two half-turn arcs. A square box gives a circle.
Import
Section titled “Import”Cargo feature geometry (enabled by default). To compile only this module:
or in Cargo.toml:
Signature
Section titled “Signature”Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
bounds | Rect | The bounding box of the ellipse. |
Returns
Section titled “Returns”String — The path data, closed.
