setSelectedFillColor

fun setSelectedFillColor(elements: List<Element>, ids: Set<String>, color: Color?): List<Element>

Set the fill color of every selected shape. null clears the fill so the shape renders stroke-only. Paths and images have no fill concept and are left untouched — multi-selecting a mix still works.