Skip to content

Commit a94b7d8

Browse files
authored
Merge pull request #147 from jposada202020/api_example
Api example inclusions
2 parents 1da9501 + 94f4a90 commit a94b7d8

File tree

1 file changed

+90
-0
lines changed

1 file changed

+90
-0
lines changed

docs/examples.rst

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,93 @@ Example to compare Label and Bitmap_Label characteristics
2424
.. literalinclude:: ../examples/display_text_label_vs_bitmap_label_comparison.py
2525
:caption: examples/display_text_label_vs_bitmap_label_comparison.py
2626
:linenos:
27+
28+
Background color example
29+
------------------------
30+
31+
Show the text backgrounds features
32+
33+
.. literalinclude:: ../examples/display_text_background_color.py
34+
:caption: examples/display_text_background_color.py
35+
:linenos:
36+
37+
Text padding example
38+
--------------------
39+
40+
Show the text padding features in all directions
41+
42+
.. literalinclude:: ../examples/display_text_background_color_padding.py
43+
:caption: examples/display_text_background_color.py
44+
:linenos:
45+
46+
Anchored Position
47+
-----------------
48+
49+
Anchored position use illustration
50+
51+
.. literalinclude:: ../examples/display_text_anchored_position.py
52+
:caption: examples/display_text_anchored_position.py
53+
:linenos:
54+
55+
Textarea Boundingbox
56+
--------------------
57+
58+
Boundingbox demonstration
59+
60+
.. literalinclude:: ../examples/display_text_textarea_boundingbox.py
61+
:caption: examples/display_text_textarea_boundingbox.py
62+
:linenos:
63+
64+
Align Baseline example
65+
----------------------
66+
67+
Demonstrate how to align different labels to a common horizontal line
68+
69+
.. literalinclude:: ../examples/display_text_label_align_baseline_comparison.py
70+
:caption: examples/display_text_label_align_baseline_comparison.py
71+
:linenos:
72+
73+
Magtag example
74+
--------------
75+
76+
Uses the MAGTAG to display some text
77+
78+
.. literalinclude:: ../examples/display_text_magtag.py
79+
:caption: examples/display_text_magtag.py
80+
:linenos:
81+
82+
MatrixPortal example
83+
--------------------
84+
85+
Uses the MatrixPortal to display some text
86+
87+
.. literalinclude:: ../examples/display_text_matrixportal.py
88+
:caption: examples/display_text_matrixportal.py
89+
:linenos:
90+
91+
PyPortal example
92+
----------------
93+
94+
Uses the Pyportal to display some text
95+
96+
.. literalinclude:: ../examples/display_text_pyportal.py
97+
:caption: examples/display_text_pyportal.py
98+
:linenos:
99+
100+
Wraptest example
101+
----------------
102+
103+
Illustrates the wraptest feature
104+
105+
.. literalinclude:: ../examples/display_text_wraptest.py
106+
:caption: examples/display_text_wraptest.py
107+
:linenos:
108+
109+
Wrap Pixel Test
110+
---------------
111+
112+
Wrap Pixel Test
113+
114+
.. literalinclude:: ../examples/display_text_wrap_pixels_test.py
115+
:caption: examples/display_text_wrap_pixels_test.py
116+
:linenos:

0 commit comments

Comments
 (0)