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

Method paintH

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

Source from the content-addressed store, hash-verified

80 }
81
82 private void paintH(Graphics g) {
83 for(int i2 = y1; i2 <= y2 - 1; i2++) {
84 int ai[] = GradBackgr(redS, greenS, blueS, redE, greenE, blueE, i2, y1, y2 - 1);
85 g.setColor(ai[0], ai[1], ai[2]);
86 g.drawLine(x1, i2, x2 - 1, i2);
87 }
88 }
89
90
91 public void paintWidth(Graphics g, int width) {

Callers 1

paintMethod · 0.95

Calls 3

GradBackgrMethod · 0.95
setColorMethod · 0.45
drawLineMethod · 0.45

Tested by

no test coverage detected