TcxCanvas.RotateBitmap(TBitmap,TcxRotationAngle,Boolean) Method
Rotates or flips a specified bitmap.
Declaration
procedure RotateBitmap(ABitmap: TBitmap; ARotationAngle: TcxRotationAngle; AFlipVertically: Boolean = False);
Parameters
Name | Type |
---|---|
ABitmap | TBitmap |
ARotationAngle | TcxRotationAngle |
AFlipVertically | Boolean |
Remarks
Call this procedure and pass a bitmap container as the ABitmap parameter to rotate or flip an image within it. Pass one of the predefined angles as the ARotationAngle parameter to rotate the image. Additionally, you can pass True as the optional AFlipVertically parameter to invert the order of horizontal pixel lines in the target image.
Note
A RotateBitmap procedure call has no effect if the ARotationAngle and AFlipVertically parameters are set to ra0 and False, respectively.
See Also