image-js 0.33.1 → 0.33.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +5 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -149,7 +149,11 @@ export declare class Image {
149
149
  // paintPoints
150
150
  // paintPolyline
151
151
  // paintPolylines
152
- // paintPolygon
152
+ paintPolygon(points: Array<Array<number>>, options?: {
153
+ color?: Array<number>;
154
+ filled?: boolean;
155
+ }): Image;
156
+
153
157
  // paintPolygons
154
158
 
155
159
  // countAlphaPixels
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "image-js",
3
- "version": "0.33.1",
3
+ "version": "0.33.2",
4
4
  "description": "Image processing and manipulation in JavaScript",
5
5
  "keywords": [
6
6
  "image",