Class
GmCutout
since: 0.0.2
[−]
Description [src]
final class Gm.Cutout : GObject.Object
{
/* No available fields */
}
A display cutout or notch.
A display cutout is an area of a display that is not usable for
rendering e.g. because a camera or speaker is placed there. This
includes so called “notches”. The are needs to be avoided when
rendering. It is described by a SVG path. Each cutouts coordinate
systems is located at the top left display corner in the displays
natural orientation. Applications can query the area to avoid
for rendering via the bounds
property so they don’t need to
deal with the SVG path themselves.
Available since: 0.0.2
[+]