-
Notifications
You must be signed in to change notification settings - Fork 365
T_Aurora_Utils_ColorUtils
Anton Pupkov edited this page Aug 8, 2016
·
1 revision
Various color utilities
System.Object
Aurora.Utils.ColorUtils
Namespace: Aurora.Utils
Assembly: Aurora (in Aurora.exe) Version: 1.0.0.0 (0.0.4.6)
C#
public static class ColorUtils
The ColorUtils type exposes the following members.
Name | Description | |
---|---|---|
AddColors | Adds two colors together by using the alpha component of the foreground color | |
BlendColors | Blends two colors together by a specified amount | |
ColorByteMultiplication | Multiplies a byte by a specified double balue | |
DrawingColorToMediaColor | Converts from System.Drawing.Color to System.Windows.Media.Color | |
GenerateRandomColor() | Generates a random color | |
GenerateRandomColor(Color) | Generates a random color within a certain base color range | |
MediaColorToDrawingColor | Converts from System.Windows.Media.Color to System.Drawing.Color | |
MultiplyColorByScalar | Multiplies a Drawing Color instance by a scalar value |