This method rotates a 1-, 4-, 8-bit greyscale or a 24-, 32-bit color image by means of 3 shears.
For 1- and 4-bit images, rotation is limited to angles whose value is an integer
multiple of 90.
Namespace:
FreeImageAPI
Assembly:
FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public bool Rotate<T>(
double angle,
Nullable<T> backgroundColor
)
where T : struct, new()
|
Visual Basic (Declaration) |
---|
Public Function Rotate(Of T As {Structure, New}) ( _
angle As Double, _
backgroundColor As Nullable(Of T) _
) As Boolean |
Visual C++ |
---|
public:
generic<typename T>
where T : value class, gcnew()
bool Rotate(
double angle,
Nullable<T> backgroundColor
) |
Type Parameters
- T
- The type of the color to use as background.
Return Value
Returns true on success, false on failure.
Version Information
FreeImage.NET
Supported in: 3.13.0, 3.13.1
See Also