Device.getDepth

Returns the bit depth of the screen, which is the number of bits it takes to represent the number of unique colors that the screen is currently capable of displaying. This number will typically be one of 1, 8, 15, 16, 24 or 32.

@return the depth of the screen

@exception SWTException <ul> <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li> </ul>

class Device
int
getDepth
(
)

Meta