DisplayCutoutInsetsRulers
-
android
class DisplayCutoutInsetsRulers : RectRulers
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> |
cutoutInsets(node: DelegatableNode) Returns a collection of display cutout bounds. |
android
|
List<RectRulers> |
cutoutInsets(placementScope: Placeable.PlacementScope) Returns a collection of display cutout bounds. |
android
|
open String |
toString() |
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.