core-ktx / androidx.graphics / android.graphics.Region / forEach

forEach

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

Performs the given action on each rect in this region.