Share via


CornerRadius Constructors

Definition

Overloads

CornerRadius(Double)

Creates a new CornerRadius such that all four of its corners have the same radius.

CornerRadius(Double, Double, Double, Double)

Creates a new CornerRadius such that each of four of its corners have the specified radiuses.

CornerRadius(Double)

Source:
CornerRadius.cs
Source:
CornerRadius.cs

Creates a new CornerRadius such that all four of its corners have the same radius.

public:
 CornerRadius(double uniformRadius);
public CornerRadius (double uniformRadius);
new Microsoft.Maui.CornerRadius : double -> Microsoft.Maui.CornerRadius
Public Sub New (uniformRadius As Double)

Parameters

uniformRadius
Double

The radius for all four corners.

Applies to

CornerRadius(Double, Double, Double, Double)

Source:
CornerRadius.cs
Source:
CornerRadius.cs

Creates a new CornerRadius such that each of four of its corners have the specified radiuses.

public:
 CornerRadius(double topLeft, double topRight, double bottomLeft, double bottomRight);
public CornerRadius (double topLeft, double topRight, double bottomLeft, double bottomRight);
new Microsoft.Maui.CornerRadius : double * double * double * double -> Microsoft.Maui.CornerRadius
Public Sub New (topLeft As Double, topRight As Double, bottomLeft As Double, bottomRight As Double)

Parameters

topLeft
Double

The radius of the top left corner.

topRight
Double

The radius of the top right corner.

bottomLeft
Double

The radius of the bottom left corner.

bottomRight
Double

The radius of the bottom right corner.

Applies to