Function: randomFill()
ts
function randomFill(colors, seed?): CellFill;A random color per cell. The choice depends only on the cell's id and seed, so a tile keeps its color when the layout is resized or the region changes.
Parameters
| Parameter | Type | Default value |
|---|---|---|
colors | readonly string[] | undefined |
seed | number | 1 |