Class FloatDimension

  • All Implemented Interfaces:
    Cloneable

    public class FloatDimension
    extends Dimension2D
    A float-based extension of Dimension2D, because there is none in the JDK RT library. Can you believe it?
    • Constructor Detail

      • FloatDimension

        public FloatDimension()
      • FloatDimension

        public FloatDimension​(float w,
                              float h)
      • FloatDimension

        public FloatDimension​(Dimension2D d)
      • FloatDimension

        public FloatDimension​(double w,
                              double h)
        Using this constructor will down-cast the provided double-arguments.
        Parameters:
        w -
        h -