語言

CornerRadius 建構函式

定義

多載

名稱 Description
CornerRadius(Double)

初始化一個新 CornerRadius 結構,將相同的均勻半徑套用於所有角落。

CornerRadius(Double, Double, Double, Double)

初始化一個新的結構體實例 CornerRadius ,對其角落套用特定的半徑值。

備註

此結構體代表Windows 執行階段(WinRT)CornerRadius struct的.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, BottomRightBottomLeft) 均適用的均勻半徑。

適用於

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 價值。

適用於