Freigeben über


RectF.WriteToParcel(Parcel, ParcelableWriteFlags) Method

Definition

Write this rectangle to the specified parcel.

[Android.Runtime.Register("writeToParcel", "(Landroid/os/Parcel;I)V", "GetWriteToParcel_Landroid_os_Parcel_IHandler")]
public virtual void WriteToParcel (Android.OS.Parcel? out, Android.OS.ParcelableWriteFlags flags);
[<Android.Runtime.Register("writeToParcel", "(Landroid/os/Parcel;I)V", "GetWriteToParcel_Landroid_os_Parcel_IHandler")>]
abstract member WriteToParcel : Android.OS.Parcel * Android.OS.ParcelableWriteFlags -> unit
override this.WriteToParcel : Android.OS.Parcel * Android.OS.ParcelableWriteFlags -> unit

Parameters

out
Parcel

The parcel to write the rectangle's coordinates into

flags
ParcelableWriteFlags

Additional flags about how the object should be written. May be 0 or ParcelableWriteReturnValue.

Implements

Attributes

Remarks

Write this rectangle to the specified parcel. To restore a rectangle from a parcel, use readFromParcel()

Java documentation for android.graphics.RectF.writeToParcel(android.os.Parcel, int).

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