Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
update javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
LabyStudio committed May 1, 2021
1 parent 73594ff commit f306080
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,23 @@ public class WidgetLayout {
private int borderPaddingY;

/**
*
* Default layout
*/
public WidgetLayout() {

}

/**
* Create inventory layout.
* This layout can transform the size, margin and padding of the Minecraft inventory slots
*
* @param slotWidth Slot width
* @param slotHeight Slot height
* @param slotMarginX Left and right space of the slots
* @param slotMarginY Top and bottom space of the slots
* @param borderPaddingX Left and right space between the slots and the background border
* @param borderPaddingY Top and bottom space between the slots and the background border
*/
public WidgetLayout(int slotWidth, int slotHeight, int slotMarginX, int slotMarginY, int borderPaddingX, int borderPaddingY) {
this.slotWidth = slotWidth;
this.slotHeight = slotHeight;
Expand Down

0 comments on commit f306080

Please sign in to comment.