Share via


Rect.ReadFromParcel(Parcel) Method

Definition

Set the rectangle's coordinates from the data stored in the specified parcel.

[Android.Runtime.Register("readFromParcel", "(Landroid/os/Parcel;)V", "")]
public void ReadFromParcel (Android.OS.Parcel in);
[<Android.Runtime.Register("readFromParcel", "(Landroid/os/Parcel;)V", "")>]
member this.ReadFromParcel : Android.OS.Parcel -> unit

Parameters

in
Parcel

The parcel to read the rectangle's coordinates from

Attributes

Remarks

Set the rectangle's coordinates from the data stored in the specified parcel. To write a rectangle to a parcel, call writeToParcel().

Java documentation for android.graphics.Rect.readFromParcel(android.os.Parcel).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to