Outline.SetRoundRect 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
SetRoundRect(Rect, Single) |
Convenience for |
SetRoundRect(Int32, Int32, Int32, Int32, Single) |
Sets the Outline to the rounded rect defined by the input coordinates and corner radius. |
SetRoundRect(Rect, Single)
Convenience for #setRoundRect(int, int, int, int, float)
[Android.Runtime.Register("setRoundRect", "(Landroid/graphics/Rect;F)V", "")]
public void SetRoundRect (Android.Graphics.Rect rect, float radius);
[<Android.Runtime.Register("setRoundRect", "(Landroid/graphics/Rect;F)V", "")>]
member this.SetRoundRect : Android.Graphics.Rect * single -> unit
Parameters
- rect
- Rect
- radius
- Single
- Attributes
Remarks
Convenience for #setRoundRect(int, int, int, int, float)
Java documentation for android.graphics.Outline.setRoundRect(android.graphics.Rect, float)
.
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
SetRoundRect(Int32, Int32, Int32, Int32, Single)
Sets the Outline to the rounded rect defined by the input coordinates and corner radius.
[Android.Runtime.Register("setRoundRect", "(IIIIF)V", "")]
public void SetRoundRect (int left, int top, int right, int bottom, float radius);
[<Android.Runtime.Register("setRoundRect", "(IIIIF)V", "")>]
member this.SetRoundRect : int * int * int * int * single -> unit
Parameters
- left
- Int32
- top
- Int32
- right
- Int32
- bottom
- Int32
- radius
- Single
- Attributes
Remarks
Sets the Outline to the rounded rect defined by the input coordinates and corner radius.
Passing a zero radius is equivalent to calling #setRect(int, int, int, int)
Java documentation for android.graphics.Outline.setRoundRect(int, int, int, int, float)
.
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.