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

FreeImage.NET

FreeImageBitmapGetRotatedInstance 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 initializing a new instance.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public FreeImageBitmap GetRotatedInstance(
	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: FreeImageBitmap
The rotated instance.
See Also