• Deposits material inside a closed polygon, setting every interior cell to materialId. The deposit complement of Carve.polygon.

    Polygons with fewer than 3 vertices are no-ops; even-odd fill applies.

    Parameters

    Returns void

    (via setPixel) If materialId is not an integer in 0..255.