Record Class GuiPageSize
java.lang.Object
java.lang.Record
com.render.api.gui.pagination.GuiPageSize
- Record Components:
width- page widthheight- page height
Immutable on-screen page dimensions in design-space pixels.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GuiPageSizestatic final GuiPageSizestatic final GuiPageSize -
Constructor Summary
ConstructorsConstructorDescriptionGuiPageSize(float width, float height) Creates an instance of aGuiPageSizerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.floatheight()Returns the value of theheightrecord component.static GuiPageSizeof(float width, float height) final StringtoString()Returns a string representation of this record class.floatwidth()Returns the value of thewidthrecord component.
-
Field Details
-
A4_PORTRAIT
-
A4_LANDSCAPE
-
LETTER_PORTRAIT
-
-
Constructor Details
-
GuiPageSize
-
-
Method Details
-
of
-
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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
width
-
height
-