CornerRadiusHelper.FromRadii(Double, Double, Double, Double) 方法

定义

从元素值生成 CornerRadius 值。 C# 和 Microsoft Visual Basic 代码应改用 CornerRadius (Double、Double、Double、Double) 构造函数。

public:
 static CornerRadius FromRadii(double topLeft, double topRight, double bottomRight, double bottomLeft);
 static CornerRadius FromRadii(double const& topLeft, double const& topRight, double const& bottomRight, double const& bottomLeft);
public static CornerRadius FromRadii(double topLeft, double topRight, double bottomRight, double bottomLeft);
function fromRadii(topLeft, topRight, bottomRight, bottomLeft)
Public Shared Function FromRadii (topLeft As Double, topRight As Double, bottomRight As Double, bottomLeft As Double) As CornerRadius

参数

topLeft
Double

double

初始的 TopLeft 值。

topRight
Double

double

初始的 TopRight 值。

bottomRight
Double

double

初始的 BottomRight 值。

bottomLeft
Double

double

初始的 BottomLeft 值。

返回

创建的 CornerRadius

适用于