Path.IsRect(RectF) Method

Definition

Returns true if the path specifies a rectangle.

[Android.Runtime.Register("isRect", "(Landroid/graphics/RectF;)Z", "GetIsRect_Landroid_graphics_RectF_Handler")]
public virtual bool IsRect (Android.Graphics.RectF? rect);
[<Android.Runtime.Register("isRect", "(Landroid/graphics/RectF;)Z", "GetIsRect_Landroid_graphics_RectF_Handler")>]
abstract member IsRect : Android.Graphics.RectF -> bool
override this.IsRect : Android.Graphics.RectF -> bool

Parameters

rect
RectF

If not null, returns the bounds of the path if it specifies a rectangle

Returns

Boolean

true if the path specifies a rectangle

Attributes

Remarks

Java documentation for android.graphics.Path.isRect(android.graphics.RectF).

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