Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wobsoriano committed Apr 30, 2022
1 parent c0252a3 commit 4505212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -55,7 +55,7 @@ const styles = StyleSheet.create({
| `reset()` | Clear all the paths. |
| `undo()` | Undo |
| `redo()` | Redo |
| `toBase64(format, quality)` | Get the base64 of image. |
| `toBase64(format?: ImageFormat, quality?: number)` | Get the base64 of image. |
| `toImage()` | Get a snapshot from the canvas in the surface. |
| `toSvg(width: number, height: number, backgroundColor?: string)` | Get the svg string of all paths. |
| `toPoints()` | Get the array of point groups that got drawn in the canvas. |
Expand Down

0 comments on commit 4505212

Please sign in to comment.