MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / paintV

Method paintV

src/main/java/ui/Gradient.java:74–80  ·  view source on GitHub ↗
(Graphics g)

Source from the content-addressed store, hash-verified

72 }
73
74 private void paintV(Graphics g) {
75 for(int i2 = x1; i2 <= x2 - 1; i2++) {
76 int gCol[] = GradBackgr(redS, greenS, blueS, redE, greenE, blueE, i2, x1, x2 - 1);
77 g.setColor(gCol[0], gCol[1], gCol[2]);
78 g.drawLine(i2, y1, i2, y2);
79 }
80 }
81
82 private void paintH(Graphics g) {
83 for(int i2 = y1; i2 <= y2 - 1; i2++) {

Callers 1

paintMethod · 0.95

Calls 3

GradBackgrMethod · 0.95
setColorMethod · 0.45
drawLineMethod · 0.45

Tested by

no test coverage detected