ellipsePath
The path of the ellipse that fills a box, as SVG path data: two half-turn arcs. A square box gives a circle.
Available since v3.1.10
Import
Section titled “Import”Signature
Section titled “Signature”Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
box | Rect | The bounding box of the ellipse |
Returns
Section titled “Returns”string — The path data, closed
Examples
Section titled “Examples”Fill a box with an ellipse
Section titled “Fill a box with an ellipse”Two half-turn arcs; a square box gives a circle.
Related Types
Section titled “Related Types”An axis-aligned rectangle: its top-left corner and its size. Width and height are expected to be non-negative.
