Capítulo 593 de 988

Chapter 593: linearGradientTint()

Core Idea

_Part of the @remotion/effects package.

Key Concepts

  • Preview
  • Example
  • API
  • start?
  • end?
  • startColor?
  • endColor?
  • amount?

Code Examples

export const MyComp: React.FC = () => {
  return (
    <AbsoluteFill>
      <Video
        src="https://remotion.media/video.mp4"
        effects={[
          linearGradientTint({
            start: [0, 0.5],
            end: [1, 0.5],
            startColor: '#0b84f3',
            endColor: '#ff5c8a',
            amount: 0.75,
          }),
        ]}
      />
    </AbsoluteFill>
  );
};
  • What it demonstrates: Usage pattern for linearGradientTint() from the official docs.

Key Takeaways

  1. Understand preview when working with linearGradientTint().
  2. Understand example when working with linearGradientTint().
  3. Understand api when working with linearGradientTint().
  4. Understand start? when working with linearGradientTint().
  5. Understand end? when working with linearGradientTint().

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.