Remoogle
Shape Layer
Shape Layer 预览
基础动画

Shape Layer

@remotionui/shape-layer

来自 RemotionUI

After Effects shape layer with an ordered operator stack — trim paths, repeater, offset paths, wiggle paths, zig-zag and pucker & bloat — evaluated per frame as pure geometry

安装

npx remotion-ui@latest add shape-layer

Props(14)

  • shapes*ShapeSource[]

    path (any SVG d), ellipse, rect, star or polygon. Merged into one geometry list.

  • operatorsShapeOperator[]= []

    Operator stack run top to bottom: trim, repeater, offset, wiggle, zigzag, pucker-bloat, transform. Order changes the result.

  • widthnumber= 400

    Rendered width in px; shape units are px.

  • heightnumber= 400

    Rendered height in px.

  • origin"center" | "top-left"= "center"

    Where (0, 0) sits in the layer.

  • strokestring | null= "#e8b86d"

    Stroke colour; null for no stroke.

  • strokeEndstring

    Colour the last repeater copy ramps to.

  • strokeWidthAnimatable<number>= 3

    Static, keyframed or expression.

  • fillstring | null= null

    Fill colour.

  • fillEndstring

    Fill colour the last repeater copy ramps to.

  • lineCap"butt" | "round" | "square"= "round"

    Stroke cap.

  • lineJoin"miter" | "round" | "bevel"= "round"

    Stroke join.

  • glownumber= 0

    Bloom radius in px; 0 turns it off.

  • framenumber

    Render this frame instead of the current one.

依赖组件

npm 包

分类