Class RectangularShapeDTO
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.levigo.jadice.web.client.messaging.RectangularShapeDTO
public final class RectangularShapeDTO
extends com.google.gwt.core.client.JavaScriptObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RectangularShapeDTO
create
(double x, double y, double w, double h) static RectangularShapeDTO
from
(RectangularShape rect) static RectangularShapeDTO
double
double
getWidth()
double
getX()
double
getY()
static Rectangle2D.Double
to
(RectangularShapeDTO dto) static Rectangle
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
-
Constructor Details
-
RectangularShapeDTO
protected RectangularShapeDTO()
-
-
Method Details
-
getX
public double getX() -
getY
public double getY() -
getWidth
public double getWidth() -
getHeight
public double getHeight() -
create
-
from
-
from
-
to
-
toRectangle
-