Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Miihir79 committed Jul 21, 2021
2 parents 369c154 + 8d690d3 commit dcd49b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Library for drawing app canvas
-- Using ***setSizeForBrush(), setBrushAlpha() and setBrushColor()*** respectively
- **Undo** and **Redo** fucntionality available
-- Using ***undo() and redo()*** respectively
- Using **erase()** function to match the background color to the brush color
- **Clear canvas** feature
-- Using ***clearDrawingBoard()***

Expand Down Expand Up @@ -38,7 +39,7 @@ allprojects {
```gradle
dependencies {
implementation 'com.github.Miihir79:DrawingCanvas:1.0.1'
implementation 'com.github.Miihir79:DrawingCanvas:1.0.2'
}
```

Expand All @@ -61,6 +62,7 @@ allprojects {
drawing_view.setSizeForBrush(12) // takes value from 0-35
drawing_view.undo()
drawing_view.redo()
drawing_view.redo(Color.WHITE) // give the color same as the background color
drawing_view.clearDrawingBoard()

```
Expand Down

0 comments on commit dcd49b5

Please sign in to comment.