Skip to content

Commit

Permalink
Update fill type to accpet CanvasGradient
Browse files Browse the repository at this point in the history
  • Loading branch information
squoddam committed Jun 3, 2024
1 parent 68b4ea3 commit 01f4bb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Shape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export type LineJoin = 'round' | 'bevel' | 'miter';
export type LineCap = 'butt' | 'round' | 'square';

export interface ShapeConfig extends NodeConfig {
fill?: string;
fill?: string | CanvasGradient;
fillPatternImage?: HTMLImageElement;
fillPatternX?: number;
fillPatternY?: number;
Expand Down

0 comments on commit 01f4bb6

Please sign in to comment.