Interface Size

All Superinterfaces:
Serializable
All Known Implementing Classes:
SizeImpl

public interface Size extends Serializable
The Interface Size.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Gets the height.
    double
    Gets the width.
    void
    setHeight(double height)
    Sets the height.
    void
    setWidth(double width)
    Sets the width.
  • Method Details

    • getWidth

      double getWidth()
      Gets the width.
      Returns:
      the width
    • setWidth

      void setWidth(double width)
      Sets the width.
      Parameters:
      width - the new width
    • getHeight

      double getHeight()
      Gets the height.
      Returns:
      the height
    • setHeight

      void setHeight(double height)
      Sets the height.
      Parameters:
      height - the new height