WebPImageRotate Method (Single, Boolean, Color) |
[!:RasterCahcedMultipageImage.Rotate] image around the center.
Namespace: Aspose.Imaging.FileFormats.WebpAssembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 22.05
Syntaxpublic override void Rotate(
float angle,
bool resizeProportionally,
Color backgroundColor
)
Public Overrides Sub Rotate (
angle As Single,
resizeProportionally As Boolean,
backgroundColor As Color
)
public:
virtual void Rotate(
float angle,
bool resizeProportionally,
Color backgroundColor
) override
abstract Rotate :
angle : float32 *
resizeProportionally : bool *
backgroundColor : Color -> unit
override Rotate :
angle : float32 *
resizeProportionally : bool *
backgroundColor : Color -> unit
Parameters
- angle
- Type: SystemSingle
The rotate angle in degrees. Positive values will rotate clockwise. - resizeProportionally
- Type: SystemBoolean
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
- Type: Aspose.ImagingColor
Color of the background.
See Also