mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-08-20 08:47:11 +02:00
feat: sharpness (#1931)
* feat: sharpness * feat: fill sharp lines, et al. * fix: rotated positioning * chore: simplify path with Q * fix: hit test inside sharp elements * make sharp / round buttons work properly * fix tsc tests * update snapshots * update snapshots * fix: sharp arrow creation error * fix merge and test * avoid type assertion * remove duplicate helper Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
@@ -12,6 +12,7 @@ type _ExcalidrawElementBase = Readonly<{
|
||||
fillStyle: string;
|
||||
strokeWidth: number;
|
||||
strokeStyle: "solid" | "dashed" | "dotted";
|
||||
strokeSharpness: "round" | "sharp";
|
||||
roughness: number;
|
||||
opacity: number;
|
||||
width: number;
|
||||
|
Reference in New Issue
Block a user