We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04aa61b commit 4572a10Copy full SHA for 4572a10
docs/api.md
@@ -202,17 +202,19 @@ YourScreen.endDraw();
202
203
#### Description
204
205
-Clear the screen contents, uses the background colour set in background().
+Clear the screen contents or a specific pixel, uses the background colour set in background().
206
207
#### Syntax
208
209
```
210
YourScreen.clear()
211
+YourScreen.clear(x, y)
212
213
214
#### Parameters
215
-None
216
+- x: x position of the pixel to clear
217
+- y: y position of the pixel to clear
218
219
#### Returns
220
0 commit comments