Class IntDimension2D


  • public class IntDimension2D
    extends java.lang.Object
    Simple data container because Dimension2D is not available on Android.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int height_  
      private int width_  
    • Constructor Summary

      Constructors 
      Constructor Description
      IntDimension2D​(int width, int height)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getHeight()  
      int getWidth()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • width_

        private final int width_
      • height_

        private final int height_
    • Constructor Detail

      • IntDimension2D

        public IntDimension2D​(int width,
                              int height)
        Constructor.
        Parameters:
        width - the width
        height - the height
    • Method Detail

      • getWidth

        public int getWidth()
        Returns:
        the width of this as integer.
      • getHeight

        public int getHeight()
        Returns:
        the height of this as integer.