MCPcopy Index your code
hub / github.com/arduino/Arduino / getThemeImage

Method getThemeImage

app/src/processing/app/Theme.java:600–603  ·  view source on GitHub ↗

Get an image associated with the current color theme.

(String name, Component who, int width,
                                    int height)

Source from the content-addressed store, hash-verified

598 * Get an image associated with the current color theme.
599 */
600 static public Image getThemeImage(String name, Component who, int width,
601 int height) {
602 return getLibImage(THEME_DIR + name, who, width, height);
603 }
604
605 private static Image imageFromSVG(URL url, int width, int height)
606 throws TranscoderException {

Callers 6

NotificationPopupMethod · 0.95
initComponentsMethod · 0.95
EditorHeaderMethod · 0.95
loadButtonsMethod · 0.95
loadTouchBarImagesMethod · 0.95
EditorLineStatusMethod · 0.95

Calls 1

getLibImageMethod · 0.95

Tested by

no test coverage detected