From dcee46d4d0039993466fc7c0e2d0be7b31af3d4b Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Wed, 29 Jun 2022 12:28:13 +0200 Subject: hud + fixes --- src/main/java/cc/polyfrost/oneconfig/images/Image.java | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/main/java/cc/polyfrost/oneconfig/images') diff --git a/src/main/java/cc/polyfrost/oneconfig/images/Image.java b/src/main/java/cc/polyfrost/oneconfig/images/Image.java index caae084..5e695e5 100644 --- a/src/main/java/cc/polyfrost/oneconfig/images/Image.java +++ b/src/main/java/cc/polyfrost/oneconfig/images/Image.java @@ -24,7 +24,6 @@ public class Image { private Graphics2D graphics = null; private final int width, height; - /** * Create a new Image from the file. This can be as a resource location inside your JAR. * @param filePath The path to the image file. @@ -184,9 +183,6 @@ public class Image { dispose(); } - - - // MASK METHODS public void setBrightness(float brightness) { maskColor(new Color(0f,0f,0f,brightness)); @@ -206,11 +202,6 @@ public class Image { dispose(); } - - - - - // LINE METHODS public void drawLine(Stroke stroke, int sx, int sy, int ex, int ey) { Graphics2D g2d = getG2D(); @@ -223,10 +214,6 @@ public class Image { drawLine(new BasicStroke(width), sx, sy, ex, ey); } - - - - // SHAPE METHODS public void drawTexturedRect(TexturePaint paint, int x, int y, int width, int height) { Graphics2D g2d = getG2D(); @@ -335,9 +322,4 @@ public class Image { public void flipVertical() { scale(1, -1); } - - - - - } -- cgit