语言

CornerRadius 构造函数

定义

重载

名称 说明
CornerRadius(Double)

初始化新 CornerRadius 结构,将相同的统一半径应用于其所有角落。

CornerRadius(Double, Double, Double, Double)

初始化结构的新实例 CornerRadius ,将特定的半径值应用于其角落。

注解

此结构表示 Windows 运行时 (WinRT) CornerRadius结构的.NET投影。 有关详细信息,请参阅 UWP API 参考中的 CornerRadius 。

CornerRadius(Double)

初始化新 CornerRadius 结构,将相同的统一半径应用于其所有角落。

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

参数

uniformRadius
Double

应用于所有四 CornerRadius 个属性(TopLeft、、 TopRight、 BottomRight) BottomLeft的统一半径。

适用于

CornerRadius(Double, Double, Double, Double)

初始化结构的新实例 CornerRadius ,将特定的半径值应用于其角落。

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)

参数

topLeft
Double

初始 TopLeft 值。

topRight
Double

初始 TopRight 值。

bottomRight
Double

初始 BottomRight 值。

bottomLeft
Double

初始 BottomLeft 值。

适用于