Class GuiImage.Gradient

java.lang.Object
com.render.api.gui.paint.GuiImage.Gradient
All Implemented Interfaces:
GuiImage
Enclosing interface:
GuiImage

public static final class GuiImage.Gradient extends Object implements GuiImage
A detached legacy-gradient definition.

The accessor returns a copy so callers cannot mutate the retained image value.

  • Constructor Details

  • Method Details

    • gradient

      public GuiGradient gradient()
    • retainedGradient

      public GuiGradient retainedGradient()
      Returns the retained definition for RenderLib render adapters.
      Returns:
      retained gradient; do not mutate