FillRule
Decides which parts of a self-intersecting shape a fill covers, as SVG's fill-rule does.
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 FillRule = 'nonzero' | 'evenodd';Type
"nonzero" | "evenodd"Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.