public class Camera.Size
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
height
height of the picture
|
int |
orgHeight
height of the picture
|
int |
orgWidth
width of the picture
|
int |
width
width of the picture
|
Constructor and Description |
---|
Size(android.hardware.Camera.Size size,
int orientation) |
Size(int width,
int height,
int orientation)
Sets the dimensions for pictures.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares
obj to this size. |
int |
hashCode() |
public final int orgWidth
public final int orgHeight
public int width
public int height
public Size(@NonNull android.hardware.Camera.Size size, int orientation)
public Size(int width, int height, int orientation)
width
- the photo width (pixels)height
- the photo height (pixels)public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
obj
to this size.equals
in class java.lang.Object
obj
- the object to to this size with.true
if the width and height of obj
is the
same as those of this size. false
otherwise.