ColorExtensions.ToHsv(Color) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Convertissez un struct System.Drawing.Color en couleur HSV.
public static ValueTuple<double,double,double> ToHsv (this System.Drawing.Color color);
Paramètres
- color
- System.Drawing.Color
Couleur actuelle à manipuler.
Retours
System.ValueTuple<System.Double,System.Double,System.Double>
Un tuple de double avec les valeurs de Teinte, Saturation et Valeur, respectivement.