makeEllipse()
import {MakeShapeSeeAlso, ShapeOptions, MakeShapeReturnType} from "../../components/shapes/shapes-info"
Part of the @remotion/shapes
package.
Generates an ellipse SVG path.
Example
ellipse.tstsx
import {makeEllipse } from "@remotion/shapes";const {path ,width ,height ,transformOrigin } =makeEllipse ({rx : 100,ry : 50,});console .log (path ); // M 100 0 a 100 100 0 1 0 1 0console .log (width ); // 200console .log (height ); // 100console .log (transformOrigin ); // '100 50'
ellipse.tstsx
import {makeEllipse } from "@remotion/shapes";const {path ,width ,height ,transformOrigin } =makeEllipse ({rx : 100,ry : 50,});console .log (path ); // M 100 0 a 100 100 0 1 0 1 0console .log (width ); // 200console .log (height ); // 100console .log (transformOrigin ); // '100 50'