CanvasExtensions.DrawRoundedRectangle Method

Definition

Overloads

DrawRoundedRectangle(ICanvas, Rect, Double)
DrawRoundedRectangle(ICanvas, RectF, Single)
DrawRoundedRectangle(ICanvas, RectF, Single, Single)
DrawRoundedRectangle(ICanvas, Rect, Double, Double, Double, Double)
DrawRoundedRectangle(ICanvas, RectF, Single, Single, Single, Single)
DrawRoundedRectangle(ICanvas, Single, Single, Single, Single, Single, Single, Single, Single)

DrawRoundedRectangle(ICanvas, Rect, Double)

Source:
CanvasExtensions.cs
Source:
CanvasExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static void DrawRoundedRectangle(Microsoft::Maui::Graphics::ICanvas ^ target, Microsoft::Maui::Graphics::Rect rect, double cornerRadius);
public static void DrawRoundedRectangle (this Microsoft.Maui.Graphics.ICanvas target, Microsoft.Maui.Graphics.Rect rect, double cornerRadius);
static member DrawRoundedRectangle : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.Rect * double -> unit
<Extension()>
Public Sub DrawRoundedRectangle (target As ICanvas, rect As Rect, cornerRadius As Double)

Parameters

target
ICanvas
rect
Rect
cornerRadius
Double

Applies to

DrawRoundedRectangle(ICanvas, RectF, Single)

Source:
CanvasExtensions.cs
Source:
CanvasExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static void DrawRoundedRectangle(Microsoft::Maui::Graphics::ICanvas ^ target, Microsoft::Maui::Graphics::RectF rect, float cornerRadius);
public static void DrawRoundedRectangle (this Microsoft.Maui.Graphics.ICanvas target, Microsoft.Maui.Graphics.RectF rect, float cornerRadius);
static member DrawRoundedRectangle : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.RectF * single -> unit
<Extension()>
Public Sub DrawRoundedRectangle (target As ICanvas, rect As RectF, cornerRadius As Single)

Parameters

target
ICanvas
rect
RectF
cornerRadius
Single

Applies to

DrawRoundedRectangle(ICanvas, RectF, Single, Single)

Source:
CanvasExtensions.cs
Source:
CanvasExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static void DrawRoundedRectangle(Microsoft::Maui::Graphics::ICanvas ^ target, Microsoft::Maui::Graphics::RectF rect, float xRadius, float yRadius);
public static void DrawRoundedRectangle (this Microsoft.Maui.Graphics.ICanvas target, Microsoft.Maui.Graphics.RectF rect, float xRadius, float yRadius);
static member DrawRoundedRectangle : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.RectF * single * single -> unit
<Extension()>
Public Sub DrawRoundedRectangle (target As ICanvas, rect As RectF, xRadius As Single, yRadius As Single)

Parameters

target
ICanvas
rect
RectF
xRadius
Single
yRadius
Single

Applies to

DrawRoundedRectangle(ICanvas, Rect, Double, Double, Double, Double)

Source:
CanvasExtensions.cs
Source:
CanvasExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static void DrawRoundedRectangle(Microsoft::Maui::Graphics::ICanvas ^ target, Microsoft::Maui::Graphics::Rect rect, double topLeftCornerRadius, double topRightCornerRadius, double bottomLeftCornerRadius, double bottomRightCornerRadius);
public static void DrawRoundedRectangle (this Microsoft.Maui.Graphics.ICanvas target, Microsoft.Maui.Graphics.Rect rect, double topLeftCornerRadius, double topRightCornerRadius, double bottomLeftCornerRadius, double bottomRightCornerRadius);
static member DrawRoundedRectangle : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.Rect * double * double * double * double -> unit
<Extension()>
Public Sub DrawRoundedRectangle (target As ICanvas, rect As Rect, topLeftCornerRadius As Double, topRightCornerRadius As Double, bottomLeftCornerRadius As Double, bottomRightCornerRadius As Double)

Parameters

target
ICanvas
rect
Rect
topLeftCornerRadius
Double
topRightCornerRadius
Double
bottomLeftCornerRadius
Double
bottomRightCornerRadius
Double

Applies to

DrawRoundedRectangle(ICanvas, RectF, Single, Single, Single, Single)

Source:
CanvasExtensions.cs
Source:
CanvasExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static void DrawRoundedRectangle(Microsoft::Maui::Graphics::ICanvas ^ target, Microsoft::Maui::Graphics::RectF rect, float topLeftCornerRadius, float topRightCornerRadius, float bottomLeftCornerRadius, float bottomRightCornerRadius);
public static void DrawRoundedRectangle (this Microsoft.Maui.Graphics.ICanvas target, Microsoft.Maui.Graphics.RectF rect, float topLeftCornerRadius, float topRightCornerRadius, float bottomLeftCornerRadius, float bottomRightCornerRadius);
static member DrawRoundedRectangle : Microsoft.Maui.Graphics.ICanvas * Microsoft.Maui.Graphics.RectF * single * single * single * single -> unit
<Extension()>
Public Sub DrawRoundedRectangle (target As ICanvas, rect As RectF, topLeftCornerRadius As Single, topRightCornerRadius As Single, bottomLeftCornerRadius As Single, bottomRightCornerRadius As Single)

Parameters

target
ICanvas
rect
RectF
topLeftCornerRadius
Single
topRightCornerRadius
Single
bottomLeftCornerRadius
Single
bottomRightCornerRadius
Single

Applies to

DrawRoundedRectangle(ICanvas, Single, Single, Single, Single, Single, Single, Single, Single)

Source:
CanvasExtensions.cs
Source:
CanvasExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static void DrawRoundedRectangle(Microsoft::Maui::Graphics::ICanvas ^ target, float x, float y, float width, float height, float topLeftCornerRadius, float topRightCornerRadius, float bottomLeftCornerRadius, float bottomRightCornerRadius);
public static void DrawRoundedRectangle (this Microsoft.Maui.Graphics.ICanvas target, float x, float y, float width, float height, float topLeftCornerRadius, float topRightCornerRadius, float bottomLeftCornerRadius, float bottomRightCornerRadius);
static member DrawRoundedRectangle : Microsoft.Maui.Graphics.ICanvas * single * single * single * single * single * single * single * single -> unit
<Extension()>
Public Sub DrawRoundedRectangle (target As ICanvas, x As Single, y As Single, width As Single, height As Single, topLeftCornerRadius As Single, topRightCornerRadius As Single, bottomLeftCornerRadius As Single, bottomRightCornerRadius As Single)

Parameters

target
ICanvas
x
Single
y
Single
width
Single
height
Single
topLeftCornerRadius
Single
topRightCornerRadius
Single
bottomLeftCornerRadius
Single
bottomRightCornerRadius
Single

Applies to