Circle
Generate a circle with adjustable size and softness
Props
Prop
Details
colorstringDefault:
#ffffffThe color of the circle
colorstringDefault: #ffffffThe color of the circle
radiusnumberDefault:
1The radius of the circle. A value of one (1) is sets the circle to fit the canvas.
radiusnumberDefault: 1The radius of the circle. A value of one (1) is sets the circle to fit the canvas.
softnessnumberDefault:
0Edge softness. Lower values like zero (0) are sharp, higher values like one (1) are softer.
softnessnumberDefault: 0Edge softness. Lower values like zero (0) are sharp, higher values like one (1) are softer.
center{x: number, y: number}Default:
{"x":0.5,"y":0.5}The center point of the circle
center{x: number, y: number}Default: {"x":0.5,"y":0.5}The center point of the circle
strokeThicknessnumberDefault:
0The thickness of the stroke outline. Zero (0) means no stroke.
strokeThicknessnumberDefault: 0The thickness of the stroke outline. Zero (0) means no stroke.
strokeColorstringDefault:
#000000The color of the stroke outline
strokeColorstringDefault: #000000The color of the stroke outline
strokePosition"outside" | "center" | "inside"Default:
centerPosition of the stroke relative to the circle edge
strokePosition"outside" | "center" | "inside"Default: centerPosition of the stroke relative to the circle edge
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default:
linearColor space for blending fill and stroke colors in soft edges
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default: linearColor space for blending fill and stroke colors in soft edges