ngx-easy-image-drawing 0.0.22 → 0.0.23
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.
- package/README.md +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
-
Angular library for easy image drawing on a canvas
|
|
5
|
+
Angular library for easy image drawing on a canvas.
|
|
6
6
|
|
|
7
7
|
This library provides a simple and efficient way to allow users to draw on images within your Angular applications.
|
|
8
8
|
|
|
@@ -45,13 +45,14 @@ export class AppModule {}
|
|
|
45
45
|
| height | number | The height of the canvas in pixels. |
|
|
46
46
|
| width | number | The width of the canvas in pixels. |
|
|
47
47
|
| lineWidth | number | The width of the line drawing (optional parameter). |
|
|
48
|
+
| lineColor | string | The color of the line drawing (optional parameter). |
|
|
48
49
|
| src | string | The image source URL. |
|
|
49
50
|
| saveButtonColor | string | The backbackground color for save button (optional parameter). |
|
|
50
51
|
| undoButtonColor | string | The backbackground color for save button (optional parameter). |
|
|
51
52
|
| forceSizeExport | boolean | Whether to force the exported image size to match the canvas size (in the pipeline). |
|
|
52
53
|
| outputMimeType | string | The MIME type of the exported image (e.g., 'image/jpeg', 'image/png') (in the pipeline). |
|
|
53
54
|
| outputQuality | number | The quality of the exported image (0-1) (in the pipeline). |
|
|
54
|
-
| savedImage | EventEmitter<
|
|
55
|
+
| savedImage | EventEmitter<File> | An event emitted when the image is saved. The event payload is a data URL representing the image. |
|
|
55
56
|
```
|
|
56
57
|
|
|
57
58
|
## Example
|