Function: writeFillColors()
ts
function writeFillColors(color, vertexStarts, out?): Float32Array;Experimental
Expand per-polygon colors to per-vertex RGBA (4 floats per vertex) using the triangulation's vertexStarts. This is the whole cost of a color-only update: no re-triangulation.
Parameters
| Parameter | Type |
|---|---|
color | ColorInput |
vertexStarts | Uint32Array |
out? | Float32Array<ArrayBufferLike> |
Returns
Float32Array