MCPcopy Index your code
hub / github.com/benfry/processing4 / setColor

Method setColor

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

Source from the content-addressed store, hash-verified

343
344
345 static public void setColor(String attr, Color what) {
346 set(attr, "#" + PApplet.hex(what.getRGB() & 0xffffff, 6)); //$NON-NLS-1$
347 }
348
349
350 static public Font getFont(String familyAttr, String sizeAttr, int style) {

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