Class GuiGlow
java.lang.Object
com.render.api.gui.GuiGlow
Outer glow effect configuration for GUI components.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatblur()Returns the blur radius in design-space pixels.blur(float blur) Sets the blur radius in design-space pixels.color()Returns the glow color in ARGB format.color(int argb) Deprecated.color(RenderColor color) Sets the glow color in ARGB format.copy()Returns a detached copy of this effect configuration.floatspread()Returns the glow spread in design-space pixels.spread(float spread) Sets the glow spread in design-space pixels.
-
Constructor Details
-
GuiGlow
public GuiGlow()
-
-
Method Details
-
color
-
color
Sets the glow color in ARGB format.- Parameters:
color- glow color- Returns:
- this effect
-
color
Deprecated.Usecolor(RenderColor). -
blur
public float blur()Returns the blur radius in design-space pixels.- Returns:
- blur radius
-
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
Sets the glow spread in design-space pixels.- Parameters:
spread- glow spread- Returns:
- this effect
-
copy
Returns a detached copy of this effect configuration.- Returns:
- copied effect configuration
-
color(RenderColor).