Class Size

java.lang.Object
com.pdftools.geometry.integer.Size

public class Size extends Object
  • Field Details

    • width

      public int width

      Width (horizontal size)

    • height

      public int height

      Height (vertical size)

  • Constructor Details

    • Size

      public Size()
      Constructor.
    • Size

      public Size(int width, int height)
  • Method Details

    • getWidth

      public int getWidth()
      Gets width
    • setWidth

      public void setWidth(int width)
      Sets width
    • getHeight

      public int getHeight()
      Gets height
    • setHeight

      public void setHeight(int height)
      Sets height
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object