public class Dimensions
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static <any> |
CREATOR |
static Dimensions |
EMPTY |
| Constructor and Description |
|---|
Dimensions(double width,
double height) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
double |
getHeight()
Returns height of rectangle in meters.
|
double |
getWidth()
Returns width of rectangle in meters
|
int |
hashCode() |
java.lang.String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Dimensions EMPTY
public static final <any> CREATOR
public Dimensions(double width,
double height)
width - in metersheight - in meterspublic double getWidth()
public double getHeight()
public int describeContents()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic void writeToParcel(Parcel dest,
int flags)