FreeImageBitmap.Rotate Method (Double, Double, Double, Double, Double, Boolean)

FreeImage.NET

FreeImageBitmapRotate Method (Double, Double, Double, Double, Double, Boolean)
This method performs a rotation and / or translation of an 8-bit greyscale, 24- or 32-bit image, using a 3rd order (cubic) B-Spline.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public bool Rotate(
	double angle,
	double xShift,
	double yShift,
	double xOrigin,
	double yOrigin,
	bool useMask
)

Parameters

angle
Type: SystemDouble
The angle of rotation.
xShift
Type: SystemDouble
Horizontal image translation.
yShift
Type: SystemDouble
Vertical image translation.
xOrigin
Type: SystemDouble
Rotation center x-coordinate.
yOrigin
Type: SystemDouble
Rotation center y-coordinate.
useMask
Type: SystemBoolean
When true the irrelevant part of the image is set to a black color, otherwise, a mirroring technique is used to fill irrelevant pixels.

Return Value

Type: Boolean
Returns true on success, false on failure.
See Also