Capítulo 573 de 988

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

  1. Understand preview when working with cornerPin().
  2. Understand example when working with cornerPin().
  3. Understand api when working with cornerPin().
  4. Understand topleft? when working with cornerPin().
  5. 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.