C# Class Hourglass.Extensions.ColorExtensions

Provides utility methods for the Color struct.
Afficher le fichier Open project: Dziemborowicz/Hourglass

Méthodes publiques

Méthode Description
FromString ( string colorString ) : Color

Converts a string representation of a Color into a Color.

ToInt ( this color ) : int

Converts a Color to an int representation.

Method Details

FromString() public static méthode

Converts a string representation of a Color into a Color.
public static FromString ( string colorString ) : Color
colorString string A representation of a .
Résultat Color

ToInt() public static méthode

Converts a Color to an int representation.
public static ToInt ( this color ) : int
color this A .
Résultat int