Record Class GuiBorderSide
java.lang.Object
java.lang.Record
com.render.api.gui.paint.GuiBorderSide
- Record Components:
width- width in design-space pixelsstyle- line stylecolor- side color
Immutable paint for one physical or resolved logical border side.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGuiBorderSide(float width, GuiBorderStyle style, RenderColor color) Creates an instance of aGuiBorderSiderecord class. -
Method Summary
Modifier and TypeMethodDescriptioncolor()Returns the value of thecolorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static GuiBorderSidesolid(float width, RenderColor color) style()Returns the value of thestylerecord component.final StringtoString()Returns a string representation of this record class.floatwidth()Returns the value of thewidthrecord component.
-
Field Details
-
NONE
-
-
Constructor Details
-
Method Details
-
solid
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
width
-
style
-
color
-