Class jlib_Dimension<T extends java.lang.Number>

java.lang.Object
com.jackmeng.stl.jlib.jlib_Dimension<T>

public class jlib_Dimension<T extends java.lang.Number>
extends java.lang.Object
  • Field Details

    • width

      private T extends java.lang.Number width
    • height

      private T extends java.lang.Number height
  • Constructor Details

    • jlib_Dimension

      public jlib_Dimension​(T width, T height)
    • jlib_Dimension

      public jlib_Dimension​(jlib_Point topRight, jlib_Point topLeft, jlib_Point bottomLeft, jlib_Point bottomRight)
    • jlib_Dimension

      public jlib_Dimension()
    • jlib_Dimension

      public jlib_Dimension​(jlib_Dimension<T> other)
    • jlib_Dimension

      public jlib_Dimension​(java.awt.Dimension other)
    • jlib_Dimension

      public jlib_Dimension​(int i, int j)
  • Method Details

    • unwrapClass

      public java.awt.Dimension unwrapClass()
    • getWidth

      public float getWidth()
    • getHeight

      public float getHeight()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object