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

Method constrain

core/src/processing/core/PApplet.java:4717–4719  ·  view source on GitHub ↗
(int amt, int low, int high)

Source from the content-addressed store, hash-verified

4715
4716
4717 static public final int constrain(int amt, int low, int high) {
4718 return (amt < low) ? low : ((amt > high) ? high : amt);
4719 }
4720
4721/**
4722 * ( begin auto-generated from constrain.xml )

Callers 10

addArcMethod · 0.95
colorCalcARGBMethod · 0.95
parseRGBMethod · 0.95
GradientMethod · 0.95
setNewSelectionWordMethod · 0.95
setSelectionMethod · 0.95
highlightMethod · 0.95
getInputOffsetMethod · 0.95
getOutputOffsetMethod · 0.95
clipTabIndexMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected