Toggle Sidebar B
Light & dark mode D

Ellipse

Ellipse with independently adjustable horizontal and vertical radii

Ellipse with independently adjustable horizontal and vertical radii

Props

PropTypeDefaultDescription
colorcolor#ffffffFill color of the ellipse
centerposition{"x":0.5,"y":0.5}Center position of the ellipse
radiusXrange0.35Horizontal semi-axis radius
radiusYrange0.2Vertical semi-axis radius
rotationrange0Rotation in degrees
softnessrange0Edge softness for antialiasing
strokeThicknessrange0Stroke thickness. Zero means no stroke.
strokeColorcolor#000000Color of the stroke outline
strokePosition"outside" | "center" | "inside"centerPosition of the stroke relative to the shape edge
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"linearColor space for blending fill and stroke colors

Usage

vue
<Shader>
  <Ellipse
    color="#ffffff"
  />
</Shader>