csharpc-sharpdotnetxamlavaloniauicross-platformcross-platform-xamlavaloniaguimulti-platformuser-interfacedotnetcore
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.1 KiB
47 lines
1.1 KiB
// This source file is adapted from the WinUI project.
|
|
// (https://github.com/microsoft/microsoft-ui-xaml)
|
|
//
|
|
// Licensed to The Avalonia Project under the MIT License.
|
|
|
|
using Avalonia.Media;
|
|
|
|
namespace Avalonia.Controls
|
|
{
|
|
/// <summary>
|
|
/// Defines a specific component in the HSV color model.
|
|
/// </summary>
|
|
public enum HsvComponent
|
|
{
|
|
/// <summary>
|
|
/// The Alpha component.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Also see: <see cref="HsvColor.A"/>
|
|
/// </remarks>
|
|
Alpha = 0,
|
|
|
|
/// <summary>
|
|
/// The Hue component.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Also see: <see cref="HsvColor.H"/>
|
|
/// </remarks>
|
|
Hue = 1,
|
|
|
|
/// <summary>
|
|
/// The Saturation component.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Also see: <see cref="HsvColor.S"/>
|
|
/// </remarks>
|
|
Saturation = 2,
|
|
|
|
/// <summary>
|
|
/// The Value component.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Also see: <see cref="HsvColor.V"/>
|
|
/// </remarks>
|
|
Value = 3
|
|
};
|
|
}
|
|
|