RasterImage.Rotate
Contents
[
Hide
]Rotate(float, bool, Color)
Rotate image around the center.
public virtual void Rotate(float angle, bool resizeProportionally, Color backgroundColor)
Parameter | Type | Description |
---|---|---|
angle | Single | The rotate angle in degrees. Positive values will rotate clockwise. |
resizeProportionally | Boolean | if set to true you will have your image size changed according to rotated rectangle (corner points) projections in other case that leaves dimensions untouched and only internal image contents are rotated. |
backgroundColor | Color | Color of the background. |
Exceptions
exception | condition |
---|---|
NotImplementedException | Not implemented exception |
See Also
- struct Color
- class RasterImage
- namespace Aspose.Imaging
- assembly Aspose.Imaging
Rotate(float)
Rotate image around the center.
public virtual void Rotate(float angle)
Parameter | Type | Description |
---|---|---|
angle | Single | The rotate angle in degrees. Positive values will rotate clockwise. |
See Also
- class RasterImage
- namespace Aspose.Imaging
- assembly Aspose.Imaging