Bagikan melalui


CornerRadiusHelper.FromRadii(Double, Double, Double, Double) Metode

Definisi

Menghasilkan nilai CornerRadius dari nilai elemen. Kode C# dan Microsoft Visual Basic harus menggunakan konstruktor 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

Parameter

topLeft
Double

double

Nilai TopLeft awal.

topRight
Double

double

Nilai TopRight awal.

bottomRight
Double

double

Nilai BottomRight awal.

bottomLeft
Double

double

Nilai BottomLeft awal.

Mengembalikan

CornerRadius yang dibuat.

Berlaku untuk