Skip to content

Documentation / @finchart/core / ShapeParams

Type Alias: ShapeParams

ShapeParams = { cx: number; cy: number; fill: string; r: number; shape: "circle"; } | { fill: string; height: number; shape: "rect"; width: number; x: number; y: number; } | { fill: string; points: Point[]; shape: "polygon"; }

Defined in: packages/core/src/render/types.ts:40