StrokeLinecap
How the ends of an open stroke inside a Drawing look, as SVG's stroke-linecap.
Usage
Draw a vector circle
This type is used by Circle
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
export type StrokeLinecap = 'butt' | 'round' | 'square';Type
"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.