java.lang.Object
stud.ntnu.idatt1005.pantrypal.utils.Sizing

public class Sizing extends Object
The Sizing class is a utility class that provides methods for getting the screen size and the size of the recipe box.
  • Constructor Details

    • Sizing

      public Sizing()
  • Method Details

    • getScreenWidth

      public static double getScreenWidth()
      Constructor for the width of the screen.
      Returns:
      the width of the screen
    • getScreenHeight

      public static double getScreenHeight()
      Constructor for the height of the screen.
      Returns:
      the height of the screen
    • getRecipeBoxSize

      public static double[] getRecipeBoxSize()
      Constructor for the size of the recipe box.
      Returns:
      the size of the recipe box