Class ColorInfo

java.lang.Object
zombie.core.textures.ColorInfo

public final class ColorInfo extends Object
  • Field Details

    • a

      public float a
    • b

      public float b
    • g

      public float g
    • r

      public float r
  • Constructor Details

    • ColorInfo

      public ColorInfo()
    • ColorInfo

      public ColorInfo(float R, float G, float B, float A)
  • Method Details

    • set

      public ColorInfo set(ColorInfo other)
    • set

      public ColorInfo set(float R, float G, float B, float A)
    • getR

      public float getR()
    • getG

      public float getG()
    • getB

      public float getB()
    • toColor

      public Color toColor()
    • toImmutableColor

      public ImmutableColor toImmutableColor()
    • getA

      public float getA()
    • desaturate

      public void desaturate(float s)
    • interp

      public void interp(ColorInfo to, float delta, ColorInfo dest)
    • toString

      public String toString()
      Overrides:
      toString in class Object