共用方式為


Rect.UnflattenFromString(String) Method

Definition

Returns a Rect from a string of the form returned by #flattenToString, or null if the string is not of that form.

[Android.Runtime.Register("unflattenFromString", "(Ljava/lang/String;)Landroid/graphics/Rect;", "")]
public static Android.Graphics.Rect? UnflattenFromString (string? str);
[<Android.Runtime.Register("unflattenFromString", "(Ljava/lang/String;)Landroid/graphics/Rect;", "")>]
static member UnflattenFromString : string -> Android.Graphics.Rect

Parameters

str
String

Returns

Attributes

Remarks

Returns a Rect from a string of the form returned by #flattenToString, or null if the string is not of that form.

Java documentation for android.graphics.Rect.unflattenFromString(java.lang.String).

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