FreeImage.NET Class Library Reference
FreeImageBitmapGetRotatedInstanceT Method (Double, NullableT) |
Rotates this FreeImageBitmap by the specified angle initializing a new instance.
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) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public FreeImageBitmap GetRotatedInstance<T>( double angle, Nullable<T> backgroundColor ) where T : struct, new()
Parameters
- angle
- Type: SystemDouble
The angle of rotation. - backgroundColor
- Type: SystemNullableT
The color used used to fill the bitmap's background.
Type Parameters
- T
- The type of the color to use as background.
Return Value
Type: FreeImageBitmapThe rotated instance.
See Also