public sealed class UtilColorPublic NotInheritable Class UtilColor
Dim instance As UtilColorpublic ref class UtilColor sealed[<SealedAttribute>]
type UtilColor = class endNo code example is currently available or this language may not be supported.| ConsoleColorToWinFormsColor | Converts a ConsoleColor to its equivalent Color. |
| ConsoleColorToWpfColor | Converts a ConsoleColor to its equivalent Color. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetPixelBrush(Point) | Gets the color of a pixel at the specified coordinates and returns a Brush. |
| GetPixelBrush(Int32, Int32) | Gets the color of a pixel at the specified coordinates and returns a Brush. |
| GetPixelColor(Point) | Gets the color of a pixel at the specified coordinates. |
| GetPixelColor(Int32, Int32) | Gets the color of a pixel at the specified coordinates. |
| GetPixelPen(Point) | Gets the color of a pixel at the specified coordinates and returns a Pen. |
| GetPixelPen(Int32, Int32) | Gets the color of a pixel at the specified coordinates and returns a Pen. |
| GetRandomBrush(Boolean) | Generates a random SolidBrush. |
| GetRandomBrush(Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) | Generates a random SolidBrush between the specified range of values. |
| GetRandomColor(Boolean) | Generates a random A-RGB color. |
| GetRandomColor(Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) | Generates a random A-RGB color between the specified range of values. |
| GetRandomConsoleColor | Generates a random ConsoleColor. |
| GetRandomPen(Boolean) | Generates a random Pen. |
| GetRandomPen(Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) | Generates a random Pen between the specified range of values. |
| GetRandomQbColor | Generates a random QB color. |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| IsColorSimilar(Color, Color, Byte) | Determines whether two colors are similar. It compares the RGB channel difference to match inside the range of the specified tolerance threshold value. |
| IsColorSimilar(Color, Color, Byte, Byte, Byte) | Determines whether two colors are similar. It compares the RGB channel differences to match inside the range of the specified tolerance threshold values. |
| IsColorSimilar(Color, Color, Byte, Byte, Byte, Byte) | Determines whether two colors are similar. It compares the ARGB channel differences to match inside the range of the specified tolerance threshold values. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| WinFormsBrushToWpfBrush | Converts a WinForms brush (Brush) to WPF brush (Brush). |
| WinFormsColorToWpfBrush | Converts a WinForms color (Color) to WPF brush (Brush). |
| WinFormsColorToWpfColor | Converts a WinForms color (Color) to WPF color (Color). |
| WpfBrushToWinFormsBrush | Converts a WPF brush (Brush) to WinForms brush (Brush). |
| WpfColorToWinFormsBrush | Converts a WPF brush (Color) to WinForms brush (Brush). |
| WpfColorToWinFormsColor | Converts a WPF color (Color) to WinForms color (Color). |
| CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
| CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
| ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
| ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
| IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
| Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
| Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
| ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |