Py5Font.list()
Contents
Py5Font.list()¶
Gets a list of the fonts installed on the system.
Examples¶
1 2 | font_list = py5.Py5Font.list()
print(font_list)
|
Description¶
Gets a list of the fonts installed on the system. The data is returned as a list of strings. This list provides the names of each font for input into create_font(), which allows py5 to dynamically format fonts.
This works outside of a running Sketch.
Underlying Processing method: PFont.list