| | 1 | | // <copyright file="Box.cs" company="Jérémy Ansel"> |
| | 2 | | // Copyright (c) 2014-2019 Jérémy Ansel |
| | 3 | | // </copyright> |
| | 4 | | // <license> |
| | 5 | | // Licensed under the MIT license. See LICENSE.txt |
| | 6 | | // </license> |
| | 7 | |
|
| | 8 | | namespace JeremyAnsel.ColorQuant |
| | 9 | | { |
| | 10 | | /// <summary> |
| | 11 | | /// A box color cube. |
| | 12 | | /// </summary> |
| | 13 | | internal sealed class Box |
| | 14 | | { |
| | 15 | | /// <summary> |
| | 16 | | /// Gets or sets the min red value, exclusive. |
| | 17 | | /// </summary> |
| 10447686 | 18 | | public int R0 { get; set; } |
| | 19 | |
|
| | 20 | | /// <summary> |
| | 21 | | /// Gets or sets the max red value, inclusive. |
| | 22 | | /// </summary> |
| 10446240 | 23 | | public int R1 { get; set; } |
| | 24 | |
|
| | 25 | | /// <summary> |
| | 26 | | /// Gets or sets the min green value, exclusive. |
| | 27 | | /// </summary> |
| 9309039 | 28 | | public int G0 { get; set; } |
| | 29 | |
|
| | 30 | | /// <summary> |
| | 31 | | /// Gets or sets the max green value, inclusive. |
| | 32 | | /// </summary> |
| 17276037 | 33 | | public int G1 { get; set; } |
| | 34 | |
|
| | 35 | | /// <summary> |
| | 36 | | /// Gets or sets the min blue value, exclusive. |
| | 37 | | /// </summary> |
| 17163192 | 38 | | public int B0 { get; set; } |
| | 39 | |
|
| | 40 | | /// <summary> |
| | 41 | | /// Gets or sets the max blue value, inclusive. |
| | 42 | | /// </summary> |
| 75204924 | 43 | | public int B1 { get; set; } |
| | 44 | |
|
| | 45 | | /// <summary> |
| | 46 | | /// Gets or sets the min alpha value, exclusive. |
| | 47 | | /// </summary> |
| 26217087 | 48 | | public int A0 { get; set; } |
| | 49 | |
|
| | 50 | | /// <summary> |
| | 51 | | /// Gets or sets the max alpha value, inclusive. |
| | 52 | | /// </summary> |
| 126785769 | 53 | | public int A1 { get; set; } |
| | 54 | |
|
| | 55 | | /// <summary> |
| | 56 | | /// Gets or sets the volume. |
| | 57 | | /// </summary> |
| 15420 | 58 | | public int Volume { get; set; } |
| | 59 | | } |
| | 60 | | } |
| | 61 | |
|