MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / drawRectOutline

Method drawRectOutline

Mod Utils/src/eu/the5zig/mod/gui/Gui.java:438–443  ·  view source on GitHub ↗
(int left, int top, int right, int bottom, int color)

Source from the content-addressed store, hash-verified

436 }
437
438 public static void drawRectOutline(int left, int top, int right, int bottom, int color) {
439 drawRect(left - 1, top - 1, right + 1, top, color);
440 drawRect(right, top, right + 1, bottom, color);
441 drawRect(left - 1, bottom, right + 1, bottom + 1, color);
442 drawRect(left - 1, top, left, bottom, color);
443 }
444
445 public static void drawRectInline(int left, int top, int right, int bottom, int color) {
446 drawRect(left, top, right, top + 1, color);

Callers 6

drawMethod · 0.95
drawRectOutlineMethod · 0.95
drawScreenMethod · 0.95
renderItemPreviewBoxMethod · 0.95
drawTabsMethod · 0.95

Calls 1

drawRectMethod · 0.95

Tested by

no test coverage detected