共用方式為


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

適用於