|
|
|
|
- End of drawing
- Drawing in PHP
- Drawing in Browser code
<picLayer variable>.Rotation (Function) In french: <Variable picCalque>.Rotation Rotates an image in a variable of type picLayer. MyWDPicImage is WDPic = "Test.gif" MyLayer is picLayer // Rotate layer by 45 degrees Result1 is boolean Result1 = MyLayer.Rotation(45) IF Result1 = False THEN Error("The operation failed") IMG_MyDrawing = MyWDPicImage
Syntax
Performing a simple rotation Hide the details
<Result> = <picLayer image>.Rotation(<Rotation angle> [, <Options>])
<Result>: Boolean - True if the rotation was performed,
- False otherwise.
<picLayer image>: picLayer variable Name of the picLayer 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 constant
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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|