Shapes

Ellipse

An ellipse centered at cx, cy in its Svg. The Ellipse element's props, styles and an example, in Hyper Elements.

import { Ellipse } from "@hyper-elements/react";

Reference

An ellipse centered at cx, cy in its Svg.

Holds: nothing. Not in an Email.

Props:

  • cx: a number (default 0)
  • cy: a number (default 0)
  • rx: a number from 0 (required)
  • ry: a number from 0 (required)

style:

  • fill: color (default "#000000", Background). Its inside (“transparent” for none).
  • stroke: color (Border). Its outline’s color.
  • strokeWidth: a number from 0 (Border)
  • opacity: a number from 0 to 1 (Effects)