@mbtech-nl/bitmap / PaletteEntry
Interface: PaletteEntry
Defined in: types.ts:109
One ink/foil colour the printer can place on the substrate.
name is used as the key in renderMultiPlaneImage's result object and must be unique within the palette. The literal 'white' is reserved for the implicit substrate background and rejected by validation.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
name | readonly | string | - | types.ts:110 |
rgb | readonly | readonly [number, number, number] | RGB tuple in 0..255. | types.ts:112 |