Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 375 Bytes

File metadata and controls

29 lines (16 loc) · 375 Bytes

Image:GetAngle

获取图像的旋转角度

angle = image:GetAngle()

参数:

  • image [userdata-Image]:图像对象

返回值:

  • angle [number]:旋转角度

示例

Graphic = UsingModule("EtherGraphic")
local image = Graphic.LoadImageFromFile("test.png")
local angle = image:GetAngle()