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

Method setColor

app/src/processing/app/Preferences.java:344–346  ·  view source on GitHub ↗
(String attr, Color what)

Source from the content-addressed store, hash-verified

342
343
344 static public void setColor(String attr, Color what) {
345 set(attr, "#" + PApplet.hex(what.getRGB() & 0xffffff, 6)); //$NON-NLS-1$
346 }
347
348
349 // Identical version found in Settings.java

Callers 3

initMethod · 0.95
applyFrameMethod · 0.95
actionPerformedMethod · 0.95

Calls 2

setMethod · 0.95
hexMethod · 0.95

Tested by

no test coverage detected