AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkSprite.AngleRad Property

The current rotation angle of the sprite in radians, 0 radians being the direction x=0 y=-1 (12 o'clock) and proceeding clockwise.

Syntax
Pascal
property AngleRad: Single;

When setting this property, it immediately rotates the sprite. By default sprites rotate around their center, see SetOffset to change this.

Copyright (c) 2012. All rights reserved.