rotate method
rotate
Rotate image around the center.
def rotate(self, angle, resize_proportionally, background_color):
...
Parameter | Type | Description |
---|---|---|
angle | float | The rotate angle in degrees. Positive values will rotate clockwise. |
resize_proportionally | bool | 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. |
background_color | Color | Color of the background. |
See Also
- module
aspose.cad
- class
RasterImage