Record Class GuiBackgroundLayer

java.lang.Object
java.lang.Record
com.render.api.gui.paint.GuiBackgroundLayer
Record Components:
image - reusable image value
position - layer alignment within its positioning area
size - layer sizing policy
repeat - repetition policy
origin - box used to position the image
clip - box used to clip the image
attachment - scroll/fixed attachment request
opacity - layer opacity
blendMode - requested blend operation with layers below it; unsupported non-normal modes use source-over and report compatibility telemetry

public record GuiBackgroundLayer(GuiImage image, GuiBackgroundPosition position, GuiBackgroundSize size, GuiBackgroundRepeat repeat, GuiBackgroundBox origin, GuiBackgroundBox clip, GuiBackgroundAttachment attachment, float opacity, GuiBlendMode blendMode) extends Record
One ordered modern background image layer.