Gm.DisplayPanel.get_x_res – gmobile Reference Manual
Packages
gmobile
Gm
DisplayPanel
border_radius
corner_radii
cutouts
height
name
width
x_res
y_res
DisplayPanel
DisplayPanel.from_data
DisplayPanel.from_resource
get_border_radius
get_corner_radii
get_cutouts
get_height
get_name
get_width
get_x_res
get_y_res
get_x_res
Description:
public
int
get_x_res
()
Gets the panels resolution (in pixels) in the x direction
Parameters:
this
The display panel
Returns:
The x resolution.