功能:旋转图像

格式:
ImageRotate(img, angle, x, y)
ImageRotate(img, angle, x)
ImageRotate(img, angle)

img  :为Bitmap图像对象
angle:为需要旋转的角度,这里单位为度
x    :旋转时横轴的参考像素坐标,默认为img图像的中间
y    :旋转时纵轴的参考像素坐标,默认为img图像的中间

例子:
//执行后,将打开一张图,然后绕中心旋转45度，最后保存旋转后的图像
a = {ImageImport<矩阵运算\ImageImport>}();
b = ImageRotate(a, 45);
{ImageExport<矩阵运算\ImageExport>}(b);