-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathColor.cs
45 lines (41 loc) · 1.23 KB
/
Color.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
36
37
38
39
40
41
42
43
44
45
using JetBrains.Annotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace NFive.SDK.Core.Models
{
/// <summary>
/// Represents an ARGB (alpha, red, green, blue) color.
/// </summary>
[PublicAPI]
[ComplexType]
public class Color
{
/// <summary>
/// Gets or sets the alpha component value of this <see cref="Color" /> structure.
/// </summary>
/// <value>
/// The alpha component value of this <see cref="Color" /> structure.
/// </value>
public byte? A { get; set; }
/// <summary>
/// Gets or sets the red component value of this <see cref="Color" /> structure.
/// </summary>
/// <value>
/// The red component value of this <see cref="Color" /> structure.
/// </value>
public byte? R { get; set; }
/// <summary>
/// Gets or sets the green component value of this <see cref="Color" /> structure.
/// </summary>
/// <value>
/// The green component value of this <see cref="Color" /> structure.
/// </value>
public byte? G { get; set; }
/// <summary>
/// Gets or sets the blue component value of this <see cref="Color" /> structure.
/// </summary>
/// <value>
/// The blue component value of this <see cref="Color" /> structure.
/// </value>
public byte? B { get; set; }
}
}