Arc
Pie sector (arc wedge) with adjustable radius and aperture angle
Props
Prop
Details
originstringDefault:
centerReference edge the center position is measured from (center default). Lets you pin the shape relative to a corner or the canvas centre.
originstringDefault: centerReference edge the center position is measured from (center default). Lets you pin the shape relative to a corner or the canvas centre.
colorstringDefault:
#ffffffFill color of the arc
colorstringDefault: #ffffffFill color of the arc
center{x: number, y: number}Default:
{"x":0.5,"y":0.5}Center position of the arc
center{x: number, y: number}Default: {"x":0.5,"y":0.5}Center position of the arc
radiusnumberDefault:
0.38Radius of the pie sector
radiusnumberDefault: 0.38Radius of the pie sector
aperturenumberDefault:
270Aperture angle of the wedge in degrees (360 = full circle)
aperturenumberDefault: 270Aperture angle of the wedge in degrees (360 = full circle)
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