<Circle />
import {ShapeSeeAlso, ShapeOptions} from "../../components/shapes/shapes-info"
Part of the @remotion/shapes
package.
Renders an SVG element drawing a circle.
Explorer
Example
src/Circle.tsxtsx
import {Circle } from "@remotion/shapes";import {AbsoluteFill } from "remotion";export constMyComposition = () => {return (<AbsoluteFill style ={{backgroundColor : "white",justifyContent : "center",alignItems : "center",}}><Circle radius ={100}fill ="green"stroke ="red"strokeWidth ={1} /></AbsoluteFill >);};
src/Circle.tsxtsx
import {Circle } from "@remotion/shapes";import {AbsoluteFill } from "remotion";export constMyComposition = () => {return (<AbsoluteFill style ={{backgroundColor : "white",justifyContent : "center",alignItems : "center",}}><Circle radius ={100}fill ="green"stroke ="red"strokeWidth ={1} /></AbsoluteFill >);};