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

Method colorCalc

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

Source from the content-addressed store, hash-verified

3410
3411
3412 protected void colorCalc(int rgb) {
3413 if (((rgb & 0xff000000) == 0) && (rgb <= colorModeX)) {
3414 colorCalc((float) rgb);
3415
3416 } else {
3417 colorCalcARGB(rgb, colorModeA);
3418 }
3419 }
3420
3421
3422 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