CornerRadius 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| 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)
参数
- bottomRight
- Double
初始 BottomRight 值。
- bottomLeft
- Double
初始 BottomLeft 值。