diff --git a/pybricks/builtins.py b/pybricks/builtins.py index e54dbaa..fce3351 100644 --- a/pybricks/builtins.py +++ b/pybricks/builtins.py @@ -381,7 +381,8 @@ class Speaker(): def say(self, text): """Say a given text string. - The options set by :meth:`set_speech_options` can affect the playback. + You can configure the language and voice of the text using + :meth:`set_speech_options`. Arguments: text (str): What to say. diff --git a/pybricks/media/ev3dev.py b/pybricks/media/ev3dev.py index 121a9f8..9cf4d85 100644 --- a/pybricks/media/ev3dev.py +++ b/pybricks/media/ev3dev.py @@ -142,18 +142,15 @@ class Image: pass def print(self, *args, sep=' ', end='\n'): - """Prints a line of text on the image. + """Prints a line of text. - This method works like the built-in ``print()`` function except that - it writes the text on the image instead. + This method works like the built-in ``print()`` function, but + it writes on the screen/image instead. - The most recent font set using :meth:`set_font` will be used or - :data:`Font.DEFAULT` if no font has been set yet. + You can set the font using :meth:`set_font`. If no font has been + set, :data:`Font.DEFAULT` will be used. - Lines are not wrapped if they are too long to fit on the image - horizontally. On the other hand, If the text would be printed off of - the image vertically, the entire image is scrolled up so that the text - will be visible in the image. + If no new line is available, all text scrolls up automatically. Arguments: * (object):