Klasse StyleColor

java.lang.Object
net.risingworld.api.ui.style.StyleColor

public final class StyleColor extends Object
  • Methodendetails

    • set

      public void set(ColorRGBA color)
    • set

      public void set(float r, float g, float b, float a)
      Sets the color.
      Parameter:
      r - the red color component (0-1).
      g - the green color component (0-1).
      b - the blue color component (0-1).
      a - the alpha (opacity) color component (0-1).
    • set

      public void set(int color)
    • set

      public void set(StyleKeyword keyword)
    • reset

      public void reset()
    • get

      public int get()