Outline.SetRect Method

Definition

Overloads

SetRect(Rect)

Convenience for #setRect(int, int, int, int)

SetRect(Int32, Int32, Int32, Int32)

Sets the Outline to the rounded rect defined by the input rect, and corner radius.

SetRect(Rect)

Convenience for #setRect(int, int, int, int)

[Android.Runtime.Register("setRect", "(Landroid/graphics/Rect;)V", "")]
public void SetRect (Android.Graphics.Rect rect);
[<Android.Runtime.Register("setRect", "(Landroid/graphics/Rect;)V", "")>]
member this.SetRect : Android.Graphics.Rect -> unit

Parameters

rect
Rect
Attributes

Remarks

Java documentation for android.graphics.Outline.setRect(android.graphics.Rect).

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

SetRect(Int32, Int32, Int32, Int32)

Sets the Outline to the rounded rect defined by the input rect, and corner radius.

[Android.Runtime.Register("setRect", "(IIII)V", "")]
public void SetRect (int left, int top, int right, int bottom);
[<Android.Runtime.Register("setRect", "(IIII)V", "")>]
member this.SetRect : int * int * int * int -> unit

Parameters

left
Int32
top
Int32
right
Int32
bottom
Int32
Attributes

Remarks

Java documentation for android.graphics.Outline.setRect(int, int, int, 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