CornerRadiusHelper.FromRadii(Double, Double, Double, Double) Methode

Definition

Generiert einen CornerRadius-Wert aus Elementwerten. C# und Microsoft Visual Basic-Code sollten stattdessen den CornerRadius(Double,Double,Double,Double)- Konstruktor verwenden.

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

Der anfängliche TopLeft-Wert .

topRight
Double

double

Der anfängliche TopRight-Wert .

bottomRight
Double

double

Der anfängliche BottomRight-Wert .

bottomLeft
Double

double

Der anfängliche BottomLeft-Wert .

Gibt zurück

Der erstellte CornerRadius.

Gilt für: