Skip to content

Commit b16e05c

Browse files
committed
Merge branch 'develop' of https://github.com/dwalton76/ev3dev-lang-python into develop-MINDCUB3R
Conflicts: utils/move_motor.py
2 parents 5d697d7 + fb92be6 commit b16e05c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

ev3dev/core.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2635,6 +2635,18 @@ def draw(self):
26352635
"""
26362636
return self._draw
26372637

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+
26382650
def clear(self):
26392651
"""
26402652
Clears the screen

0 commit comments

Comments
 (0)