DisplayCutoutInsetsRulers


Rulers for the display cutout. The left, top, right, and bottom indicate the bounds where drawing will not intersect with the display cutout. cutoutInsets returns a list of RectRulers surrounding the display cutouts themselves.

Summary

Public functions

List<RectRulers>

Returns a collection of display cutout bounds.

android
List<RectRulers>

Returns a collection of display cutout bounds.

android
open String
android

Public properties

open HorizontalRuler

The bottom position of the rectangle

android
open VerticalRuler

The left position of the rectangle.

android
open VerticalRuler

The right position of the rectangle

android
open HorizontalRuler

The top position of the rectangle.

android

Public functions

cutoutInsets

fun cutoutInsets(node: DelegatableNode): List<RectRulers>

Returns a collection of display cutout bounds.

cutoutInsets

fun cutoutInsets(placementScope: Placeable.PlacementScope): List<RectRulers>

Returns a collection of display cutout bounds.

toString

open fun toString(): String

Public properties

bottom

open val bottomHorizontalRuler

The bottom position of the rectangle

left

open val leftVerticalRuler

The left position of the rectangle.

right

open val rightVerticalRuler

The right position of the rectangle

top

open val topHorizontalRuler

The top position of the rectangle.