Share via


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

適用於