|
|
|
|
|
- End of drawing
- Drawing in PHP
- Drawing in Browser code
<Image variable>.Rotation (Function) In french: <Variable Image>.Rotation Rotates an image in a variable of type Image. MyImage is Image = "Test.gif" // Rotate Image variable by 45 degrees Result1 is boolean Result1 = MyImage.Rotation(45) IF Result1 = False THEN Error("The operation failed") IMG_MyDrawing = MyImage
Syntax
Performing a simple rotation Hide the details
<Result> = <Image variable>.Rotation(<Rotation angle> [, <Options>])
<Result>: Boolean - True if the rotation was performed,
- False otherwise.
<Image variable>: Image variable Name of the Image variable to be used. <Rotation angle>: Real Rotation angle (in degrees). - If the angle is positive, the image rotates clockwise.
- If the angle is negative, the image rotates counterclockwise.
<Options>: Integer
Related Examples:
|
Unit examples (WINDEV): Image rotation
[ + ] Image rotation from any point that will be used as rotation center.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|