C# Class Hourglass.Extensions.ColorExtensions

Provides utility methods for the Color struct.
Mostra file Open project: Dziemborowicz/Hourglass

Public Methods

Method 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 method

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

ToInt() public static method

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