Chapter 601: outline()
Core Idea
_Part of the @remotion/effects package.
Key Concepts
- Preview
- Example
- API
- width?
- edgeSimplification?
- color?
- opacity?
- outlineOnly?
Code Examples
export const MyComp: React.FC = () => {
return (
<AbsoluteFill style={{backgroundColor: '#15171e'}}>
<Video
src="https://remotion.media/greenscreen.mp4"
effects={[
colorKey({similarity: 0.45}),
outline({width: 12, edgeSimplification: 12, color: '#00ffff'}),
]}
/>
</AbsoluteFill>
);
};
- What it demonstrates: Usage pattern for outline() from the official docs.
Key Takeaways
- Understand preview when working with outline().
- Understand example when working with outline().
- Understand api when working with outline().
- Understand width? when working with outline().
- Understand edgesimplification? when working with outline().
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.