CornerRadius 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CornerRadius(Double) |
新建 CornerRadius,使其所有四个圆角都具有相同的半径。 |
CornerRadius(Double, Double, Double, Double) |
新建 CornerRadius,使其四个圆角都具有指定的半径。 |
CornerRadius(Double)
新建 CornerRadius,使其所有四个圆角都具有相同的半径。
public CornerRadius (double uniformRadius);
new Xamarin.Forms.CornerRadius : double -> Xamarin.Forms.CornerRadius
参数
- uniformRadius
- System.Double
所有四个圆角的半径。
适用于
CornerRadius(Double, Double, Double, Double)
新建 CornerRadius,使其四个圆角都具有指定的半径。
public CornerRadius (double topLeft, double topRight, double bottomLeft, double bottomRight);
new Xamarin.Forms.CornerRadius : double * double * double * double -> Xamarin.Forms.CornerRadius
参数
- topLeft
- System.Double
左上角的半径。
- topRight
- System.Double
右上角的半径。
- bottomLeft
- System.Double
左下角的半径。
- bottomRight
- System.Double
右下角的半径。