Skip to content

Commit

Permalink
fix: add TypeScript definition for paintPolygon() (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
incanus committed Mar 28, 2022
1 parent 5811f5b commit d0c0541
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,11 @@ export declare class Image {
// paintPoints
// paintPolyline
// paintPolylines
// paintPolygon
paintPolygon(points: Array<Array<number>>, options?: {
color?: Array<number>;
filled?: boolean;
}): Image;

// paintPolygons

// countAlphaPixels
Expand Down

0 comments on commit d0c0541

Please sign in to comment.