MCPcopy Create free account
hub / github.com/benfry/processing4 / colorCalc

Method colorCalc

core/src/processing/core/PShape.java:3478–3485  ·  view source on GitHub ↗
(int rgb)

Source from the content-addressed store, hash-verified

3476
3477
3478 protected void colorCalc(int rgb) {
3479 if (((rgb & 0xff000000) == 0) && (rgb <= colorModeX)) {
3480 colorCalc((float) rgb);
3481
3482 } else {
3483 colorCalcARGB(rgb, colorModeA);
3484 }
3485 }
3486
3487
3488 protected void colorCalc(int rgb, float alpha) {

Callers 9

fillMethod · 0.95
strokeMethod · 0.95
tintMethod · 0.95
ambientMethod · 0.95
specularMethod · 0.95
emissiveMethod · 0.95
lightSpecularMethod · 0.45
lightAmbientMethod · 0.45
lightDiffuseMethod · 0.45

Calls 1

colorCalcARGBMethod · 0.95

Tested by

no test coverage detected