Package ilcd
Class ScreenParameters

Public Method getTextOrientation

int getTextOrientation()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

text/graphic
viewport
or
Orientation
Description
0 no rotation
1 the text/graphic items or the viewport are rotated by 90°
2 the text/graphic items or the viewport are rotated by 180°
3 the text/graphic items or the viewport are rotated by 270°

Returns the orientation of the text/graphic items relative to the Viewport Related Methods orientation in the range of 0 ... 3.

Example

ScreenParameters scrPar = Memory.getViewScreenParameters();

if (scrPar.getTextOrientation() == 0)

{

   Draw.writeText(" No rotation! ");

}

See also:

Memory.getDrawScreenParameters()
Memory.getViewScreenParameters()