-
Notifications
You must be signed in to change notification settings - Fork 146
Expand file tree
/
Copy pathColorChannel.cs
More file actions
32 lines (27 loc) · 917 Bytes
/
ColorChannel.cs
File metadata and controls
32 lines (27 loc) · 917 Bytes
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
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace CommunityToolkit.WinUI.Controls;
/// <summary>
/// Defines a specific channel within a color representation.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Advanced)]
public enum ColorChannel
{
/// <summary>
/// Represents the alpha channel.
/// </summary>
Alpha,
/// <summary>
/// Represents the first color channel which is Red when RGB or Hue when HSV.
/// </summary>
Channel1,
/// <summary>
/// Represents the second color channel which is Green when RGB or Saturation when HSV.
/// </summary>
Channel2,
/// <summary>
/// Represents the third color channel which is Blue when RGB or Value when HSV.
/// </summary>
Channel3
}