-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class Rectangle implements Parcelable
-
-
Field Summary
Fields Modifier and Type Field Description public static Parcelable.Creator<Rectangle>CREATOR
-
Constructor Summary
Constructors Constructor Description Rectangle(float x, float y, float width, float height)
-
Method Summary
Modifier and Type Method Description booleanisRelative()static RectanglegetDefaultROI()StringtoString()voidnormalizeToUnitRectangle()floatgetX()floatgetY()floatgetWidth()floatgetHeight()intdescribeContents()voidwriteToParcel(@NonNull() Parcel dest, int flags)-
-
Method Detail
-
isRelative
boolean isRelative()
-
getDefaultROI
@NonNull() static Rectangle getDefaultROI()
-
normalizeToUnitRectangle
void normalizeToUnitRectangle()
-
getX
float getX()
-
getY
float getY()
-
getWidth
float getWidth()
-
getHeight
float getHeight()
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(@NonNull() Parcel dest, int flags)
-
-
-
-