Canvas.DrawDoubleRoundRect Method

Definition

Overloads

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", "GetDrawDoubleRoundRect_Landroid_graphics_RectF_arrayFLandroid_graphics_RectF_arrayFLandroid_graphics_Paint_Handler", ApiSince=29)]
public virtual 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", "GetDrawDoubleRoundRect_Landroid_graphics_RectF_arrayFLandroid_graphics_RectF_arrayFLandroid_graphics_Paint_Handler", ApiSince=29)>]
abstract member DrawDoubleRoundRect : Android.Graphics.RectF * single[] * Android.Graphics.RectF * single[] * Android.Graphics.Paint -> unit
override this.DrawDoubleRoundRect : Android.Graphics.RectF * single[] * Android.Graphics.RectF * single[] * Android.Graphics.Paint -> unit

Parameters

outer
RectF

The outer rectangular bounds of the roundRect to be drawn

outerRadii
Single[]

Array of 8 float representing the x, y corner radii for top left, top right, bottom right, bottom left corners respectively on the outer rounded rectangle

inner
RectF

The inner rectangular bounds of the roundRect to be drawn

innerRadii
Single[]

Array of 8 float representing the x, y corner radii for top left, top right, bottom right, bottom left corners respectively on the outer rounded rectangle

paint
Paint

The paint used to draw the double roundRect

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

Java documentation for android.graphics.Canvas.drawDoubleRoundRect(android.graphics.RectF, float[], android.graphics.RectF, float[], android.graphics.Paint).

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", "GetDrawDoubleRoundRect_Landroid_graphics_RectF_FFLandroid_graphics_RectF_FFLandroid_graphics_Paint_Handler", ApiSince=29)]
public virtual 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", "GetDrawDoubleRoundRect_Landroid_graphics_RectF_FFLandroid_graphics_RectF_FFLandroid_graphics_Paint_Handler", ApiSince=29)>]
abstract member DrawDoubleRoundRect : Android.Graphics.RectF * single * single * Android.Graphics.RectF * single * single * Android.Graphics.Paint -> unit
override this.DrawDoubleRoundRect : Android.Graphics.RectF * single * single * Android.Graphics.RectF * single * single * Android.Graphics.Paint -> unit

Parameters

outer
RectF

The outer rectangular bounds of the roundRect to be drawn

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 inner rectangular bounds of the roundRect to be drawn

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 used to draw the double roundRect

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

Java documentation for android.graphics.Canvas.drawDoubleRoundRect(android.graphics.RectF, float, float, android.graphics.RectF, float, float, android.graphics.Paint).

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