Documentation

Mirror

Mirror content across a line defined by center point and angle

Props

center{x: number, y: number}
Default:{"x":0.5,"y":0.5}
The point the mirror line passes through
anglenumber
Default:0
The angle of the mirror line in degrees
edges"stretch" | "transparent" | "mirror" | "wrap"
Default:mirror
How to handle edges when distortion pushes content out of bounds

Usage

<Shader>
  <Mirror>
    <Circle />
  </Mirror>
</Shader>