Class SimpleDimension2D

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class SimpleDimension2D
    extends java.awt.geom.Dimension2D
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleDimension2D​(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
    • Constructor Detail

      • SimpleDimension2D

        public SimpleDimension2D​(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