Klasse RenderUtils

java.lang.Object
schrumbo.schrumbohud.Utils.RenderUtils

public class RenderUtils extends Object
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    static void
    drawBorder(net.minecraft.client.gui.DrawContext context, int x, int y, int width, int height, int color)
     
    static void
    drawOutlineWithCutCorners(net.minecraft.client.gui.DrawContext context, int x, int y, int width, int height, int thickness, int color)
     
    static void
    drawRectWithCutCorners(net.minecraft.client.gui.DrawContext context, int x, int y, int width, int height, int thickness, int color)
     
    private static void
    drawRoundedCornerOutline(net.minecraft.client.gui.DrawContext context, int x, int y, int radius, int thickness, int color, int corner)
    Draws a rounded corner outline
    static void
    drawRoundedRectWithOutline(net.minecraft.client.gui.DrawContext context, int x, int y, int width, int height, float radius, int thickness, int color)
     
    private static void
    fillRoundedCorner(net.minecraft.client.gui.DrawContext context, int x, int y, int radius, int color, int corner)
    Fills a rounded corner
    static void
    fillRoundedRect(net.minecraft.client.gui.DrawContext context, int x, int y, int width, int height, float radius, int color)
     

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • RenderUtils

      public RenderUtils()
  • Methodendetails

    • fillRoundedRect

      public static void fillRoundedRect(net.minecraft.client.gui.DrawContext context, int x, int y, int width, int height, float radius, int color)
    • drawRoundedRectWithOutline

      public static void drawRoundedRectWithOutline(net.minecraft.client.gui.DrawContext context, int x, int y, int width, int height, float radius, int thickness, int color)
    • fillRoundedCorner

      private static void fillRoundedCorner(net.minecraft.client.gui.DrawContext context, int x, int y, int radius, int color, int corner)
      Fills a rounded corner
      Parameter:
      corner - 1=topleft 2=topright 3=bottomright 4=bottomleft
    • drawRoundedCornerOutline

      private static void drawRoundedCornerOutline(net.minecraft.client.gui.DrawContext context, int x, int y, int radius, int thickness, int color, int corner)
      Draws a rounded corner outline
      Parameter:
      corner - 1=topleft 2=topright 3=bottomright 4=bottomleft
    • drawRectWithCutCorners

      public static void drawRectWithCutCorners(net.minecraft.client.gui.DrawContext context, int x, int y, int width, int height, int thickness, int color)
    • drawOutlineWithCutCorners

      public static void drawOutlineWithCutCorners(net.minecraft.client.gui.DrawContext context, int x, int y, int width, int height, int thickness, int color)
    • drawBorder

      public static void drawBorder(net.minecraft.client.gui.DrawContext context, int x, int y, int width, int height, int color)