Class GuiNode.Background
java.lang.Object
top.untold.frostlumen.core.gui.GuiNode.Background
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected doubleprotected RGBAprotected ThicknessPositionprotected intprotected RGBAprotected intprotected intprotected intprotected intprotected intprotected intprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleintgetColor()intintintgetNode()intintintintvoidsetBlurStrength(double blurStrength) setBorderColor(RGBA borderColor) setBorderThickness(int borderThickness) setBorderThicknessPosition(ThicknessPosition borderThicknessPosition) setBottomBorderThickness(int bottomBorderThickness) setCornerRadius(int cornerRadius) setLeftBorderThickness(int leftBorderThickness) setLeftBottomCornerRadius(int leftBottomCornerRadius) setLeftTopCornerRadius(int leftTopCornerRadius) setRightBorderThickness(int rightBorderThickness) setRightBottomCornerRadius(int rightBottomCornerRadius) setRightTopCornerRadius(int rightTopCornerRadius) setTopBorderThickness(int topBorderThickness)
-
Field Details
-
color
-
borderColor
-
leftBorderThickness
protected int leftBorderThickness -
rightBorderThickness
protected int rightBorderThickness -
topBorderThickness
protected int topBorderThickness -
bottomBorderThickness
protected int bottomBorderThickness -
leftTopCornerRadius
protected int leftTopCornerRadius -
rightTopCornerRadius
protected int rightTopCornerRadius -
leftBottomCornerRadius
protected int leftBottomCornerRadius -
rightBottomCornerRadius
protected int rightBottomCornerRadius -
borderThicknessPosition
-
blurStrength
protected double blurStrength
-
-
Constructor Details
-
Background
public Background()
-
-
Method Details
-
render
-
setColor
-
setBorderColor
-
setLeftBorderThickness
-
setRightBorderThickness
-
setTopBorderThickness
-
setBottomBorderThickness
-
setBorderThickness
-
setLeftTopCornerRadius
-
setRightTopCornerRadius
-
setLeftBottomCornerRadius
-
setRightBottomCornerRadius
-
setCornerRadius
-
setBorderThicknessPosition
-
setBlurStrength
-
getColor
-
getBorderColor
-
getLeftBorderThickness
public int getLeftBorderThickness() -
getRightBorderThickness
public int getRightBorderThickness() -
getTopBorderThickness
public int getTopBorderThickness() -
getBottomBorderThickness
public int getBottomBorderThickness() -
getLeftTopCornerRadius
public int getLeftTopCornerRadius() -
getRightTopCornerRadius
public int getRightTopCornerRadius() -
getLeftBottomCornerRadius
public int getLeftBottomCornerRadius() -
getRightBottomCornerRadius
public int getRightBottomCornerRadius() -
getBorderThicknessPosition
-
getBlurStrength
public double getBlurStrength() -
getNode
-