public final class ImageSize
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
android.graphics.Bitmap.Config |
config |
static android.os.Parcelable.Creator<ImageSize> |
CREATOR |
int |
height |
int |
width |
static ImageSize |
ZERO |
Modifier | Constructor and Description |
---|---|
|
ImageSize(int[] size) |
|
ImageSize(int[] size,
android.graphics.Bitmap.Config config) |
|
ImageSize(int width,
int height) |
|
ImageSize(int width,
int height,
android.graphics.Bitmap.Config config) |
protected |
ImageSize(android.os.Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isZero() |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public android.graphics.Bitmap.Config config
public static final android.os.Parcelable.Creator<ImageSize> CREATOR
public final int height
public final int width
public static final ImageSize ZERO
public ImageSize(int[] size)
public ImageSize(int[] size, android.graphics.Bitmap.Config config)
public ImageSize(int width, int height)
public ImageSize(int width, int height, android.graphics.Bitmap.Config config)
protected ImageSize(android.os.Parcel in)
public int describeContents()
describeContents
in interface android.os.Parcelable
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isZero()
public java.lang.String toString()
toString
in class java.lang.Object
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable