Edit

Share via


CornerRadius Constructors

Definition

Overloads

CornerRadius(Double)

Initializes a new CornerRadius structure, applying the same uniform radius to all its corners.

CornerRadius(Double, Double, Double, Double)

Initializes a new instance of the CornerRadius struct, applying specific radius values to its corners.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) CornerRadius struct. For more information, see CornerRadius in the UWP API reference.

CornerRadius(Double)

Initializes a new CornerRadius structure, applying the same uniform radius to all its corners.

public:
 CornerRadius(double uniformRadius);
public CornerRadius (double uniformRadius);
new Windows.UI.Xaml.CornerRadius : double -> Windows.UI.Xaml.CornerRadius
Public Sub New (uniformRadius As Double)

Parameters

uniformRadius
Double

A uniform radius applied to all four CornerRadius properties (TopLeft, TopRight, BottomRight, BottomLeft).

Applies to

CornerRadius(Double, Double, Double, Double)

Initializes a new instance of the CornerRadius struct, applying specific radius values to its corners.

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

Parameters

topLeft
Double

The initial TopLeft value.

topRight
Double

The initial TopRight value.

bottomRight
Double

The initial BottomRight value.

bottomLeft
Double

The initial BottomLeft value.

Applies to