RotateSprite()

语法

RotateSprite(#Sprite, Angle.f, Mode)
概要
Rotates the specified #Sprite to the given 'Angle'.

参数

Angle.f Angle value, in degree (from 0 to 360). The rotation is performed clockwise.
Mode It can be one the following values:
  #PB_Absolute: the angle is set to the new angle.
  #PB_Relative: the angle is added to the previous angle value.

返回值

无.

已支持操作系统

所有

<- LoadSprite() - Sprite Index - SaveSprite() ->