RasterCachedImage.Rotate
RasterCachedImage.Rotate method
围绕中心旋转图像。
public override void Rotate(float angle, bool resizeProportionally, Color backgroundColor)
| 参数 | 类型 | 描述 |
|---|---|---|
| 角度 | 单精度 | 旋转角度(单位:度)。正值将顺时针旋转。 |
| resizeProportionally | Boolean | 如果设置为 true,图像尺寸将根据旋转矩形(角点)投影进行更改;否则保持尺寸不变,仅旋转内部图像内容。 |
| backgroundColor | 颜色 | 背景颜色。 |
另请参见
- struct Color
- class RasterCachedImage
- namespace Aspose.Imaging
- assembly Aspose.Imaging