Skip to content

Commit 25ccdab

Browse files
Update README.md
1 parent 6fb2372 commit 25ccdab

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ Demo Screen
1111

1212
### Useful Methods
1313

14-
* ```isRevealed()``` - tells whether the text/image has been revealed.
15-
* ```reveal()``` - reveals the image/text if not revealed yet.
16-
* ```setRevealListener(IRevealListener)``` - a callback listener interface which gets called back when user reveals the text/image
14+
* ```isRevealed()``` - tells whether the view has been revealed.
15+
* ```reveal()``` - reveals the view if not revealed yet.
16+
* ```mask()``` - masks the view again and removes the existing scratches.
17+
* ```setRevealListener(IRevealListener)``` - a callback listener interface which gets called back when user reveals the view
1718
through onReveal() method.
1819

1920

@@ -94,7 +95,7 @@ Attributes
9495
--------
9596
| Attribute | Description | Values |
9697
| ---------------------------- | ----------------------------- | ----------------------------- |
97-
| `app:overlay_image` | The pattern or image to cover the image/text. | @drawable/scratch_card |
98+
| `app:overlay_image` | The pattern or image to cover the view. | @drawable/scratch_card |
9899
| `app:tile_mode` | https://developer.android.com/reference/android/graphics/Shader.TileMode | CLAMP / MIRROR / REPEAT|
99100
| `app:overlay_width` | Width of the overlay pattern | 300dp |
100101
| `app:overlay_height` | Height of the overlay pattern | 300dp |

0 commit comments

Comments
 (0)