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.
2 parents 4b755b5 + decb8ef commit ec6f27dCopy full SHA for ec6f27d
ev3dev/core.py
@@ -2635,6 +2635,18 @@ def draw(self):
2635
"""
2636
return self._draw
2637
2638
+ @property
2639
+ def image(self):
2640
+ """
2641
+ Returns a handle to PIL.Image class that is backing the screen. This can
2642
+ be accessed for blitting images to the screen.
2643
+
2644
+ Example::
2645
2646
+ screen.image.paste(picture, (0, 0))
2647
2648
+ return self._img
2649
2650
def clear(self):
2651
2652
Clears the screen
0 commit comments