Capítulo 787 de 988

Chapter 787: makeCircle()

Core Idea

_Part of the @remotion/shapes package.

Key Concepts

  • Example
  • Arguments
  • Return type
  • See also

Code Examples

const { path, width, height, transformOrigin } = makeCircle({ radius: 50 });

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

Key Takeaways

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

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.