MCPcopy Index your code
hub / github.com/processing/processing / list

Method list

core/src/processing/core/PFont.java:886–893  ·  view source on GitHub ↗

( 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

()

Source from the content-addressed store, hash-verified

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 /**

Callers

nothing calls this directly

Calls 2

loadFontsMethod · 0.95
getNameMethod · 0.45

Tested by

no test coverage detected