File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ This Real Renderer extends the `RealRenderer` class and can be used as a general
219219Click and drag on the canvas to draw, change modes to erase. The brush color and eraser/brush sized can be changed.
220220See [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
You can’t perform that action at this time.
0 commit comments