getDisplayCutoutBounds

Function

Common
fun Placeable.PlacementScope.getDisplayCutoutBounds(): List<RectRulers>

Returns a List of RectRulers, one RectRulers for each display cutout. Each RectRulers provides values for the bounds of the display cutout. WindowInsetsRulers.DisplayCutout provides the safe inset values for content avoiding all display cutouts.