DisplayCutout.BoundingRects Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a list of Rect
s, each of which is the bounding rectangle for a non-functional
area on the display.
public System.Collections.Generic.IList<Android.Graphics.Rect> BoundingRects { [Android.Runtime.Register("getBoundingRects", "()Ljava/util/List;", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getBoundingRects", "()Ljava/util/List;", "", ApiSince=28)>]
member this.BoundingRects : System.Collections.Generic.IList<Android.Graphics.Rect>
Property Value
a list of bounding Rect
s, one for each display cutout area. No empty Rect is
returned.
- Attributes
Remarks
Returns a list of Rect
s, each of which is the bounding rectangle for a non-functional area on the display.
There will be at most one non-functional area per edge of the device.
Note that there is no bounding rectangle for waterfall cutout since it just represents the curved areas of the display but not the non-functional areas.
Java documentation for android.view.DisplayCutout.getBoundingRects()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.