public sealed class ColorMatrix
A colour module matrix. ColorMatrix.Cells is indexed [x, y] and holds BWIPP colour indices: 0 = white (FFFFFF), 9 = black (000000), 1 = cyan (00FFFF), 3 = magenta (FF00FF), 5 = yellow (FFFF00), 6 = green (00FF00).
Constructors
| Signature | Description |
# ColorMatrix(int width, int height) | Creates an empty matrix. |
Properties
| Property | Type | Description |
Cells { get; } | int[] | Colour indices, [x, y]. |
Height { get; } | int | Height in modules. |
Width { get; } | int | Width in modules. |
Fields & Constants
| Field | Type | Description |
static readonly Palette | IReadOnlyDictionary<int, (string, string)> | Colour index to (name, RGB hex) as defined by BWIPP's ultracode colormap. |