( begin auto-generated from PFont_list.xml ) Gets a list of the fonts installed on the system. The data is returned as a String array. This list provides the names of each font for input into createFont() , which allows Processing to dynamically format fonts. This function is meant as a tool
()
| 884 | * @brief Gets a list of the fonts installed on the system |
| 885 | */ |
| 886 | static public String[] list() { |
| 887 | loadFonts(); |
| 888 | String list[] = new String[fonts.length]; |
| 889 | for (int i = 0; i < list.length; i++) { |
| 890 | list[i] = fonts[i].getName(); |
| 891 | } |
| 892 | return list; |
| 893 | } |
| 894 | |
| 895 | |
| 896 | /** |