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
- Understand arguments when working with scalePath().
- Understand path when working with scalePath().
- Understand xscale when working with scalePath().
- Understand yscale when working with scalePath().
- 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.