ColorUtil Class Members
The following tables list the members exposed by ColorUtil.
Public Methods
Name | Description | |
---|---|---|
FromArgb | Creates a System.UInt32 Color from A R G B values | |
FromRgb | Creates a System.UInt32 Color from R G B values | |
FromUInt | Converts a System.UInt32 to System.Windows.Media.Color | |
Lerp | Overloaded. Linearly interpolates between two colors based on the ratio passed in. E.g. Ratio = 0.0f returns From color, ratio = 1.0f returns To Color. Ratio = 0.5f returns a mix of the two | |
ToUInt | Converts a System.Windows.Media.Color struct to System.UInt32 |
Extension Methods
Name | Description | |
---|---|---|
DebugFinalizer<T> | Notifies that finalizer has been invoked | |
ToDoubleArray | Overloaded. Converts an System.IComparable array to double array | |
ToEnumerable<T> | Yields a single item, converting it to System.Collections.IEnumerable. | |
ToStringArray2D<T> |
See Also