mirror of https://github.com/SixLabors/ImageSharp
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.
33 lines
924 B
33 lines
924 B
// <copyright file="ComponentOrder.cs" company="James Jackson-South">
|
|
// Copyright (c) James Jackson-South and contributors.
|
|
// Licensed under the Apache License, Version 2.0.
|
|
// </copyright>
|
|
|
|
namespace ImageSharp.PixelFormats
|
|
{
|
|
/// <summary>
|
|
/// Enumerates the various component orders.
|
|
/// </summary>
|
|
public enum ComponentOrder
|
|
{
|
|
/// <summary>
|
|
/// Z-> Y-> X order. Equivalent to B-> G-> R in <see cref="Rgba32"/>
|
|
/// </summary>
|
|
Zyx,
|
|
|
|
/// <summary>
|
|
/// Z-> Y-> X-> W order. Equivalent to B-> G-> R-> A in <see cref="Rgba32"/>
|
|
/// </summary>
|
|
Zyxw,
|
|
|
|
/// <summary>
|
|
/// X-> Y-> Z order. Equivalent to R-> G-> B in <see cref="Rgba32"/>
|
|
/// </summary>
|
|
Xyz,
|
|
|
|
/// <summary>
|
|
/// X-> Y-> Z-> W order. Equivalent to R-> G-> B-> A in <see cref="Rgba32"/>
|
|
/// </summary>
|
|
Xyzw,
|
|
}
|
|
}
|
|
|