CornerRadius 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | 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)
參數
- bottomRight
- Double
初始 BottomRight 價值。
- bottomLeft
- Double
初始 BottomLeft 價值。