Chapter 573: cornerPin()
Core Idea
_Part of the @remotion/effects package.
Key Concepts
- Preview
- Example
- API
- topLeft?
- topRight?
- bottomRight?
- bottomLeft?
- disabled?
Code Examples
export const MyComp: React.FC = () => {
return (
<AbsoluteFill>
<Video
src="https://remotion.media/video.mp4"
effects={[
cornerPin({
topLeft: [0.08, 0.12],
topRight: [0.92, 0.04],
bottomRight: [0.86, 0.9],
bottomLeft: [0.14, 0.96],
}),
]}
/>
</AbsoluteFill>
);
};
- What it demonstrates: Usage pattern for cornerPin() from the official docs.
Key Takeaways
- Understand preview when working with cornerPin().
- Understand example when working with cornerPin().
- Understand api when working with cornerPin().
- Understand topleft? when working with cornerPin().
- Understand topright? when working with cornerPin().
Connects To
- Animated Emoji: related page in the Effects Library section.
- get Available Emoji: related page in the Effects Library section.
- api: related page in the Effects Library section.