We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c9265d commit decb8efCopy full SHA for decb8ef
ev3dev/core.py
@@ -2537,6 +2537,18 @@ def draw(self):
2537
"""
2538
return self._draw
2539
2540
+ @property
2541
+ def image(self):
2542
+ """
2543
+ Returns a handle to PIL.Image class that is backing the screen. This can
2544
+ be accessed for blitting images to the screen.
2545
+
2546
+ Example::
2547
2548
+ screen.image.paste(picture, (0, 0))
2549
2550
+ return self._img
2551
2552
def clear(self):
2553
2554
Clears the screen
0 commit comments