Class Dimension2DImpl

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class Dimension2DImpl
    extends java.awt.geom.Dimension2D
    Version:
    $Revision: 8afef6dd0d58 $
    • Constructor Summary

      Constructors 
      Constructor Description
      Dimension2DImpl​(float w, float h)
      Default Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getHeight()
      double getWidth()
      void setSize​(double w, double h)
      • 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

      • Dimension2DImpl

        public Dimension2DImpl​(float w,
                               float h)
        Default Constructor.
        Parameters:
        w - new width.
        h - new height.
    • Method Detail

      • getHeight

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

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

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