Class DrawUtils

java.lang.Object
fr.pacdu.pacpackquests.client.util.DrawUtils

public class DrawUtils extends Object
A small utility class for common custom drawings like checkmarks.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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).