Package ilcd
Class GraphicInfo

Public Method getColorDepth

int getColorDepth()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns Description
colorDepth the depth of the graphic's color

The getColorDepth() method is used to obtain the color depth of a graphic.

Example

int graphicDepth = Control.getGraphicInfo(0).getColorDepth();

Draw.writeText(" graphic depth: " + graphicDepth);

See also:

Control.getGraphicInfo(int)