diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-29 12:28:13 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-29 12:28:13 +0200 |
commit | dcee46d4d0039993466fc7c0e2d0be7b31af3d4b (patch) | |
tree | 6a15cfdda1e272c80013ec357271f30208850ea8 /src/main/java/cc/polyfrost/oneconfig/images | |
parent | 28962efa38a5c259ce532d3b0d1b3d9b5cd79f93 (diff) | |
download | OneConfig-dcee46d4d0039993466fc7c0e2d0be7b31af3d4b.tar.gz OneConfig-dcee46d4d0039993466fc7c0e2d0be7b31af3d4b.tar.bz2 OneConfig-dcee46d4d0039993466fc7c0e2d0be7b31af3d4b.zip |
hud + fixes
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/images')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/images/Image.java | 18 |
1 files changed, 0 insertions, 18 deletions
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); } - - - - - } |