RecordingCanvas.DrawDoubleRoundRect 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 |
|---|---|
| DrawDoubleRoundRect(RectF, Single[], RectF, Single[], Paint) |
Draws a double rounded rectangle using the specified paint. |
| DrawDoubleRoundRect(RectF, Single, Single, RectF, Single, Single, Paint) |
Draws a double rounded rectangle using the specified paint. |
DrawDoubleRoundRect(RectF, Single[], RectF, Single[], Paint)
Draws a double rounded rectangle using the specified paint.
[Android.Runtime.Register("drawDoubleRoundRect", "(Landroid/graphics/RectF;[FLandroid/graphics/RectF;[FLandroid/graphics/Paint;)V", "", ApiSince=29)]
public override sealed void DrawDoubleRoundRect(Android.Graphics.RectF outer, float[] outerRadii, Android.Graphics.RectF inner, float[] innerRadii, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawDoubleRoundRect", "(Landroid/graphics/RectF;[FLandroid/graphics/RectF;[FLandroid/graphics/Paint;)V", "", ApiSince=29)>]
override this.DrawDoubleRoundRect : Android.Graphics.RectF * single[] * Android.Graphics.RectF * single[] * Android.Graphics.Paint -> unit
Parameters
- outer
- RectF
The bounds of the outer rounded rectangle.
- outerRadii
- Single[]
Eight corner radii as x/y pairs, ordered top-left, top-right, bottom-right, bottom-left.
- inner
- RectF
The bounds of the inner rounded rectangle to exclude.
- innerRadii
- Single[]
Eight corner radii as x/y pairs, ordered top-left, top-right, bottom-right, bottom-left.
- paint
- Paint
The paint supplying color and supported drawing attributes for the region between the outlines.
- Attributes
Remarks
Draws a double rounded rectangle using the specified paint. The resultant round rect will be filled in the area defined between the outer and inner rectangular bounds if the Paint configured with Paint.Style.FILL. Otherwise if Paint.Style.STROKE is used, then 2 rounded rect strokes will be drawn at the outer and inner rounded rectangles
Android reference for android.graphics.RecordingCanvas.drawDoubleRoundRect.
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
DrawDoubleRoundRect(RectF, Single, Single, RectF, Single, Single, Paint)
Draws a double rounded rectangle using the specified paint.
[Android.Runtime.Register("drawDoubleRoundRect", "(Landroid/graphics/RectF;FFLandroid/graphics/RectF;FFLandroid/graphics/Paint;)V", "", ApiSince=29)]
public override sealed void DrawDoubleRoundRect(Android.Graphics.RectF outer, float outerRx, float outerRy, Android.Graphics.RectF inner, float innerRx, float innerRy, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawDoubleRoundRect", "(Landroid/graphics/RectF;FFLandroid/graphics/RectF;FFLandroid/graphics/Paint;)V", "", ApiSince=29)>]
override this.DrawDoubleRoundRect : Android.Graphics.RectF * single * single * Android.Graphics.RectF * single * single * Android.Graphics.Paint -> unit
Parameters
- outer
- RectF
The bounds of the outer rounded rectangle.
- outerRx
- Single
The x-radius of the oval used to round the corners on the outer rectangle
- outerRy
- Single
The y-radius of the oval used to round the corners on the outer rectangle
- inner
- RectF
The bounds of the inner rounded rectangle to exclude.
- innerRx
- Single
The x-radius of the oval used to round the corners on the inner rectangle
- innerRy
- Single
The y-radius of the oval used to round the corners on the outer rectangle
- paint
- Paint
The paint supplying color and supported drawing attributes for the region between the outlines.
- Attributes
Remarks
Draws a double rounded rectangle using the specified paint. The resultant round rect will be filled in the area defined between the outer and inner rectangular bounds if the Paint configured with Paint.Style.FILL. Otherwise if Paint.Style.STROKE is used, then 2 rounded rect strokes will be drawn at the outer and inner rounded rectangles
Android reference for android.graphics.RecordingCanvas.drawDoubleRoundRect.
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.