Class Dimension2D

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class Dimension2D
    extends java.awt.geom.Dimension2D
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double height  
      double width  
    • Constructor Summary

      Constructors 
      Constructor Description
      Dimension2D​(double width, double height)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getHeight()  
      double getWidth()  
      void setSize​(double width, double height)  
      • Methods inherited from class java.awt.geom.Dimension2D

        clone, setSize
      • Methods inherited from class java.lang.Object

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

      • width

        public double width
      • height

        public double height
    • Constructor Detail

      • Dimension2D

        public Dimension2D​(double width,
                           double height)
    • Method Detail

      • getWidth

        public double getWidth()
        Specified by:
        getWidth in class java.awt.geom.Dimension2D
      • getHeight

        public double getHeight()
        Specified by:
        getHeight in class java.awt.geom.Dimension2D
      • setSize

        public void setSize​(double width,
                            double height)
        Specified by:
        setSize in class java.awt.geom.Dimension2D