Cutout


Object Hierarchy:

Object hierarchy for Cutout

Description:

[ CCode ( type_id = "gm_cutout_get_type ()" ) ]
[ Version ( since = "0.0.2" ) ]
public class Cutout : Object

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.


Namespace: Gm
Package: gmobile

Content:

Properties:

Creation methods:

Methods:

Inherited Members: