CornerRadius 建構函式

定義

多載

CornerRadius(Double)

初始化新的 CornerRadius 結構,將相同的統一半徑套用至其所有角落。

CornerRadius(Double, Double, Double, Double)

初始化 CornerRadius 結構的新執行個體,並將特定的半徑值套用到其邊角。

備註

此結構代表 Windows 執行階段 (WinRT) 結構的 .NET 投影 CornerRadius 。 如需詳細資訊,請參閱 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 屬性 (TopLeftTopRightBottomRightBottomLeft) 的統一半徑。

適用於

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 的初始值。

適用於