Class GuiGlow

java.lang.Object
com.render.api.gui.GuiGlow

public final class GuiGlow extends Object
Outer glow effect configuration for GUI components.
  • Constructor Details

    • GuiGlow

      public GuiGlow()
  • Method Details

    • color

      public RenderColor color()
      Returns the glow color in ARGB format.
      Returns:
      glow color
    • color

      public GuiGlow color(RenderColor color)
      Sets the glow color in ARGB format.
      Parameters:
      color - glow color
      Returns:
      this effect
    • color

      @Deprecated(forRemoval=false) public GuiGlow color(int argb)
      Deprecated.
    • blur

      public float blur()
      Returns the blur radius in design-space pixels.
      Returns:
      blur radius
    • blur

      public GuiGlow blur(float blur)
      Sets the blur radius in design-space pixels.
      Parameters:
      blur - blur radius
      Returns:
      this effect
    • spread

      public float spread()
      Returns the glow spread in design-space pixels.
      Returns:
      glow spread
    • spread

      public GuiGlow spread(float spread)
      Sets the glow spread in design-space pixels.
      Parameters:
      spread - glow spread
      Returns:
      this effect
    • copy

      public GuiGlow copy()
      Returns a detached copy of this effect configuration.
      Returns:
      copied effect configuration