Class DrawUtils
java.lang.Object
fr.pacdu.pacpackquests.client.util.DrawUtils
A small utility class for common custom drawings like checkmarks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddrawCheckmark(net.minecraft.client.gui.GuiGraphics context, int x, int y, int size) Draw a green 90-degree checkmark with a clean cardinal (non-diagonal) white outline.
-
Constructor Details
-
DrawUtils
public DrawUtils()
-
-
Method Details
-
drawCheckmark
public static void drawCheckmark(net.minecraft.client.gui.GuiGraphics context, int x, int y, int size) Draw a green 90-degree checkmark with a clean cardinal (non-diagonal) white outline. Sizes below 7 may not render correctly.- Parameters:
context- The context where to draw.x- The x start position.y- The y start position.size- The total size of the checkmark (width and height).
-