CornerRadius 构造函数

定义

重载

CornerRadius(Double)

新建 CornerRadius,使其所有四个圆角都具有相同的半径。

CornerRadius(Double, Double, Double, Double)

新建 CornerRadius,使其四个圆角都具有指定的半径。

CornerRadius(Double)

Source:
CornerRadius.cs
Source:
CornerRadius.cs

新建 CornerRadius,使其所有四个圆角都具有相同的半径。

public:
 CornerRadius(double uniformRadius);
public CornerRadius (double uniformRadius);
new Microsoft.Maui.CornerRadius : double -> Microsoft.Maui.CornerRadius
Public Sub New (uniformRadius As Double)

参数

uniformRadius
Double

所有四个圆角的半径。

适用于

CornerRadius(Double, Double, Double, Double)

Source:
CornerRadius.cs
Source:
CornerRadius.cs

新建 CornerRadius,使其四个圆角都具有指定的半径。

public:
 CornerRadius(double topLeft, double topRight, double bottomLeft, double bottomRight);
public CornerRadius (double topLeft, double topRight, double bottomLeft, double bottomRight);
new Microsoft.Maui.CornerRadius : double * double * double * double -> Microsoft.Maui.CornerRadius
Public Sub New (topLeft As Double, topRight As Double, bottomLeft As Double, bottomRight As Double)

参数

topLeft
Double

左上角的半径。

topRight
Double

右上角的半径。

bottomLeft
Double

左下角的半径。

bottomRight
Double

右下角的半径。

适用于