Skip to content

Commit e602a4c

Browse files
author
HarshKhandeparkar
committed
docs: docs docz dox!
1 parent 9d4d0ba commit e602a4c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ This Real Renderer extends the `RealRenderer` class and can be used as a general
219219
Click and drag on the canvas to draw, change modes to erase. The brush color and eraser/brush sized can be changed.
220220
See [example](https://harshkhandeparkar.github.io/gpujs-real-renderer).
221221
222-
##### Properties (Readl-Only)
222+
##### Properties (Read-Only)
223223
- `brushSize` (*number*): The radius of the drawing brush. The size is measured in the board's
224224
arbitrary coordinate system.
225225
- `brushColor` (*array*): The color of the brush in the corm `[red, green, blue]` where each of
@@ -237,6 +237,8 @@ Apart from those, the following are additional options that can be passed on to
237237
238238
- `eraserSize`(*Number*) (Default: `2`): Determines the size of the eraser.
239239
240+
- `maxUndos`(*Number*) (Default: `15`): Determines the maximum possible undos. (Use a smaller number on devices with less RAM)
241+
240242
- `mode` (*'paint' | 'draw'*) (Default: `'paint'`): Determines whether the board paints or erases on mouse drag.
241243
242244
##### Methods

0 commit comments

Comments
 (0)