Skip to content

@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

PropertyModifierTypeDescriptionDefined in
namereadonlystring-types.ts:110
rgbreadonlyreadonly [number, number, number]RGB tuple in 0..255.types.ts:112

Released under the MIT License.