Partager via


CornerRadiusHelper.FromRadii(Double, Double, Double, Double) Méthode

Définition

Génère une valeur CornerRadius à partir des valeurs d’élément. C# et le code Microsoft Visual Basic doivent utiliser le constructeur CornerRadius(Double,Double,Double,Double) à la place.

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

Paramètres

topLeft
Double

double

Valeur TopLeft initiale.

topRight
Double

double

Valeur TopRight initiale.

bottomRight
Double

double

Valeur bottomright initiale.

bottomLeft
Double

double

Valeur bottomLeft initiale.

Retours

CornerRadius créé.

S’applique à