Capítulo 783 de 988

Chapter 783: <Ellipse />

Core Idea

_Part of the @remotion/shapes package.

Key Concepts

  • Explorer
  • Example
  • Props
  • See also

Code Examples

export const MyComposition = () => {
  return (
    <AbsoluteFill
      style={{
        backgroundColor: "white",
        justifyContent: "center",
        alignItems: "center",
      }}
    >
      <Ellipse rx={100} ry={50} fill="green" stroke="red" strokeWidth={1} />
    </AbsoluteFill>
  );
};
  • What it demonstrates: Usage pattern for <Ellipse /> from the official docs.

Key Takeaways

  1. Understand explorer when working with <Ellipse />.
  2. Understand example when working with <Ellipse />.
  3. Understand props when working with <Ellipse />.
  4. Understand see also when working with <Ellipse />.

Connects To

  • Arrow: related page in the Shapes (@remotion/shapes) section.
  • Callout: related page in the Shapes (@remotion/shapes) section.
  • Circle: related page in the Shapes (@remotion/shapes) section.