Visual.getBestDepth

Get the best available depth for the default GDK screen. “Best” means “largest,” i.e. 32 preferred over 24 preferred over 8 bits per pixel.

More...
class Visual
static
int
getBestDepth
()

Return Value

Type: int

best available depth

Detailed Description

Deprecated: Visual selection should be done using Screen.getSystemVisual and Screen.getRgbaVisual