Usage

Draw a vector circle

This type is used by Circle

tsx
import { Drawing, Circle } from 'kuito';

export function Example() {
  return (
    <Drawing viewBox={[0, 0, 100, 100]} width={120} height={120} label="Vector example">
      <Circle cx={50} cy={50} r={35} fill="#2563eb" />
    </Drawing>
  );
}

Type declaration

ts
export type StrokeLinecap = 'butt' | 'round' | 'square';

Type

ts
"butt" | "round" | "square"
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.