Package ilcd
Class GraphicInfo

Public Method getSize

Size getSize()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns Description
Size the size of a graphic

The getSize() method is used to obtain the size of a graphic. The Size return type delivers the height and width values of a graphic.

Example

Size graphicSize = Control.getGraphicInfo(1).getSize();

Draw.writeText(" height of the graphic: " + graphicSize.getHeight() + "\r"

             + " width of the graphic:  " + graphicSize.getWidth());

See also:

Control.getGraphicInfo(int)