Package com.jackmeng.stl.jlib
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 Summary
-
Constructor Summary
Constructors Constructor Description jlib_Dimension()
jlib_Dimension(int i, int j)
jlib_Dimension(jlib_Dimension<T> other)
jlib_Dimension(jlib_Point topRight, jlib_Point topLeft, jlib_Point bottomLeft, jlib_Point bottomRight)
jlib_Dimension(java.awt.Dimension other)
jlib_Dimension(T width, T height)
-
Method Summary
Modifier and Type Method Description float
getHeight()
float
getWidth()
java.lang.String
toString()
java.awt.Dimension
unwrapClass()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
width
-
height
-
-
Constructor Details
-
jlib_Dimension
-
jlib_Dimension
public jlib_Dimension(jlib_Point topRight, jlib_Point topLeft, jlib_Point bottomLeft, jlib_Point bottomRight) -
jlib_Dimension
public jlib_Dimension() -
jlib_Dimension
-
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 classjava.lang.Object
-