Chapter 805: extendViewBox()
Core Idea
_Part of the @remotion/paths package. Available since v3.
Key Concepts
- Example: Displaying an SVG path that goes out of bounds
- See also
Code Examples
const extended = extendViewBox("0 0 1000 1000", 2);
console.log(extended); // "-500 -500 2000 2000"
- What it demonstrates: Usage pattern for extendViewBox() from the official docs.
Key Takeaways
- Understand example: displaying an svg path that goes out of bounds when working with extendViewBox().
- Understand see also when working with extendViewBox().
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.