-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBasicColors.cs
35 lines (35 loc) · 1.02 KB
/
BasicColors.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
namespace ColorHelper
{
public enum RGB_BasicColors
{
Red,
Green,
Blue
}
/// <summary>
/// a coloramount is a volume of a certain color. It can be used to mix colors together. Kind of like you would mix 500ml green color with 50ml white color
/// </summary>
public struct ColorAmount
{
public ColorAmount(System.Drawing.Color color, double volume)
{
this.Color = color;
this.Volume = volume;
}
public System.Drawing.Color Color;
public double Volume;
}
/// <summary>
/// a coloramount is a volume of a certain color. It can be used to mix colors together. Kind of like you would mix 500ml green color with 50ml white color
/// </summary>
public struct ShiftColorAmount
{
public ShiftColorAmount(ShiftColor color, double volume)
{
this.Color = color;
this.Volume = volume;
}
public ShiftColor Color;
public double Volume;
}
}