AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkAccelerometer.Angle Property

Returns the current direction angle with respect to X=0, Y=-1 (up).

Syntax
Pascal
class property Angle: Single;

The angle will be in the range 0-360. The direction is an emulated value that will use an accelerometer where available or keyboard arrow keys if not.

Copyright (c) 2012. All rights reserved.