Class Size


  • public final class Size
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) double h  
      (package private) double w  
    • Constructor Summary

      Constructors 
      Constructor Description
      Size()  
      Size​(double px, double py)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getHeight()  
      double getWidth()  
      void set​(double px, double py)  
      • Methods inherited from class java.lang.Object

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

      • w

        double w
      • h

        double h
    • Constructor Detail

      • Size

        public Size()
      • Size

        public Size​(double px,
                    double py)
    • Method Detail

      • set

        public void set​(double px,
                        double py)
      • getWidth

        public double getWidth()
      • getHeight

        public double getHeight()