RecordingCanvas.DrawRoundRect 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 |
|---|---|
| DrawRoundRect(Single, Single, Single, Single, Single, Single, Paint) |
Draw the specified round-rect using the specified paint. |
| DrawRoundRect(RectF, Single, Single, Paint) |
Draw the specified round-rect using the specified paint. |
DrawRoundRect(Single, Single, Single, Single, Single, Single, Paint)
Draw the specified round-rect using the specified paint.
[Android.Runtime.Register("drawRoundRect", "(FFFFFFLandroid/graphics/Paint;)V", "", ApiSince=29)]
public override sealed void DrawRoundRect(float left, float top, float right, float bottom, float rx, float ry, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawRoundRect", "(FFFFFFLandroid/graphics/Paint;)V", "", ApiSince=29)>]
override this.DrawRoundRect : single * single * single * single * single * single * Android.Graphics.Paint -> unit
Parameters
- left
- Single
- top
- Single
- right
- Single
- bottom
- Single
- rx
- Single
The x-radius of the oval used to round the corners
- ry
- Single
The y-radius of the oval used to round the corners
- paint
- Paint
- Attributes
Remarks
Draw the specified round-rect using the specified paint. The roundrect will be filled or framed based on the Style in the paint.
Android reference for android.graphics.RecordingCanvas.drawRoundRect.
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
DrawRoundRect(RectF, Single, Single, Paint)
Draw the specified round-rect using the specified paint.
[Android.Runtime.Register("drawRoundRect", "(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V", "", ApiSince=29)]
public override sealed void DrawRoundRect(Android.Graphics.RectF rect, float rx, float ry, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawRoundRect", "(Landroid/graphics/RectF;FFLandroid/graphics/Paint;)V", "", ApiSince=29)>]
override this.DrawRoundRect : Android.Graphics.RectF * single * single * Android.Graphics.Paint -> unit
Parameters
- rect
- RectF
- rx
- Single
The x-radius of the oval used to round the corners
- ry
- Single
The y-radius of the oval used to round the corners
- paint
- Paint
- Attributes
Remarks
Draw the specified round-rect using the specified paint. The roundrect will be filled or framed based on the Style in the paint.
Android reference for android.graphics.RecordingCanvas.drawRoundRect.
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.