micropython-st7789py-lcd-dr.../sphinx/source/examples/boxlines.rst

26 wiersze
435 B
ReStructuredText

.. _boxlines:
boxlines.py
===========
.. figure:: ../_static/boxlines.jpg
:align: center
Test for lines and rectangles.
Draws lines and rectangles in random colors at random locations on the display.
.. note:: This example requires the following modules:
.. hlist::
:columns: 3
- `st7789py`
- `tft_config`
.. literalinclude:: ../../../examples/boxlines.py
:language: python
:linenos:
:lines: 1-