Capítulo 788 de 988

Chapter 788: makeEllipse()

Core Idea

_Part of the @remotion/shapes package.

Key Concepts

  • Example
  • Arguments
  • Return type
  • See also

Code Examples

const { path, width, height, transformOrigin } = makeEllipse({
  rx: 100,
  ry: 50,
});

console.log(path); // M 100 0 a 100 100 0 1 0 1 0
console.log(width); // 200
console.log(height); // 100
console.log(transformOrigin); // '100 50'
  • What it demonstrates: Usage pattern for makeEllipse() from the official docs.

Key Takeaways

  1. Understand example when working with makeEllipse().
  2. Understand arguments when working with makeEllipse().
  3. Understand return type when working with makeEllipse().
  4. Understand see also when working with makeEllipse().

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.