StrokeLinecap
How the ends of an open stroke inside a Drawing look, as SVG's stroke-linecap.
Verwendung
Draw a vector circle
Dieser Typ wird verwendet von 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>
);
}Typdeklaration
export type StrokeLinecap = 'butt' | 'round' | 'square';Typ
"butt" | "round" | "square"Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.