Capítulo 819 de 988

Chapter 819: scalePath()

Core Idea

_Part of the @remotion/paths package. Available from v3.

Key Concepts

  • Arguments
  • path
  • xScale
  • yScale
  • See also

Code Examples

const newPath = scalePath("M 0 0 L 100 100", 1, 2); // "M 0 0 L 100 200";
  • What it demonstrates: Usage pattern for scalePath() from the official docs.

Key Takeaways

  1. Understand arguments when working with scalePath().
  2. Understand path when working with scalePath().
  3. Understand xscale when working with scalePath().
  4. Understand yscale when working with scalePath().
  5. Understand see also when working with scalePath().

Connects To

  • Center Path: related page in the Paths (@remotion/paths) section.
  • cut Path: related page in the Paths (@remotion/paths) section.
  • Evolve Path: related page in the Paths (@remotion/paths) section.