CornerRadius 构造函数

定义

重载

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

右下角的半径。

适用于