Udostępnij za pośrednictwem


Outline.SetRect Method

Definition

Overloads

SetRect(Rect)

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

SetRect(Int32, Int32, Int32, Int32)

Sets the Outline to the rect defined by the input coordinates.

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

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

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 rect defined by the input coordinates.

[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

Sets the Outline to the rect defined by the input coordinates.

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