Rect.FlattenToString Method

Definition

Return a string representation of the rectangle in a well-defined format.

[Android.Runtime.Register("flattenToString", "()Ljava/lang/String;", "")]
public string FlattenToString ();
[<Android.Runtime.Register("flattenToString", "()Ljava/lang/String;", "")>]
member this.FlattenToString : unit -> string

Returns

Returns a new String of the form "left top right bottom"

Attributes

Remarks

Return a string representation of the rectangle in a well-defined format.

You can later recover the Rect from this string through #unflattenFromString(String).

Java documentation for android.graphics.Rect.flattenToString().

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