Outline.SetRect Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| SetRect(Rect) |
Convenience for |
| 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
The rectangle supplying the outline's bounds.
- 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
The left edge of the outline rectangle.
- top
- Int32
The top edge of the outline rectangle.
- right
- Int32
The right edge of the outline rectangle.
- bottom
- Int32
The bottom edge of the outline rectangle.
- 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.