|
|
|
|
|
- End of drawing
- Drawing in PHP
- Drawing in Browser code
<WDPic variable>.VerticalSymmetry (Function) In french: <Variable WDPic>.SymétrieVerticale Flips an image contained in a WDPic variable (on the background layer) with respect to a vertical axis (symmetry with respect to a vertical axis).
MyWDPicImage is WDPic = "Test.gif" // Vertical symmetry of the image contained in the WDPic variable MyResult is boolean MyResult = MyImage.VerticalSymmetry() IF MyResult = False THEN Error("The operation failed") IMG_MyDrawing = MyImage
Syntax
<Result> = <WDPic image>.VerticalSymmetry()
<Result>: Boolean - True if the symmetry was performed,
- False otherwise.
<WDPic image>: WDPic variable Name of the WDPic variable to be used. Only the background layer will be handled. The symmetry is performed in relation to the median vertical axis of the image. The image is directly modified. Remarks End of drawing If <WDPic variable>.EndDrawing and <WDPic variable>.VerticalSymmetry are called in the same process, the image changes will not be displayed.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|