Vesica
Vesica piscis (lens shape) formed by the intersection of two overlapping circles
Props
Prop
Details
colorstringDefault:
#ffffffFill color of the vesica
colorstringDefault: #ffffffFill color of the vesica
center{x: number, y: number}Default:
{"x":0.5,"y":0.5}Center position of the vesica
center{x: number, y: number}Default: {"x":0.5,"y":0.5}Center position of the vesica
radiusnumberDefault:
0.35Radius of the two overlapping circles
radiusnumberDefault: 0.35Radius of the two overlapping circles
spreadnumberDefault:
0.5Circle separation — 0 = full circle overlap, 1 = infinitely thin lens
spreadnumberDefault: 0.5Circle separation — 0 = full circle overlap, 1 = infinitely thin lens
rotationnumberDefault:
0Rotation in degrees
rotationnumberDefault: 0Rotation in degrees
softnessnumberDefault:
0Edge softness for antialiasing
softnessnumberDefault: 0Edge softness for antialiasing
strokeThicknessnumberDefault:
0Stroke thickness. Zero means no stroke.
strokeThicknessnumberDefault: 0Stroke thickness. Zero means no stroke.
strokeColorstringDefault:
#000000Color of the stroke outline
strokeColorstringDefault: #000000Color of the stroke outline
strokePosition"outside" | "center" | "inside"Default:
centerPosition of the stroke relative to the shape edge
strokePosition"outside" | "center" | "inside"Default: centerPosition of the stroke relative to the shape edge
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default:
linearColor space for blending fill and stroke colors
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default: linearColor space for blending fill and stroke colors
Usage
<Shader>
<Vesica
color="#ffffff"
:radius="0.35"
/>
</Shader>