forEach

inline fun Region.forEach(action: (rect: Rect) -> Unit)

Performs the given action on each rect in this region.