Class TintedGuiItems

java.lang.Object
net.ixdarklord.folios.internal.client.paint.TintedGuiItems

public final class TintedGuiItems extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    An item handed to the screen, with the colour it was handed with.
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    The colour an item handed to the screen now takes.
    static void
    draw(int argb, Runnable draw)
    Draws what draw hands the screen tinted by argb.
    static int
    premultiplied(int argb)
    A colour as the item pictures' draw wants it: its red, green and blue times its alpha.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • draw

      public static void draw(int argb, Runnable draw)
      Draws what draw hands the screen tinted by argb.
    • current

      public static int current()
      The colour an item handed to the screen now takes.
    • premultiplied

      public static int premultiplied(int argb)
      A colour as the item pictures' draw wants it: its red, green and blue times its alpha.