TRpgImage.applyImageEffect
Class
Syntax
procedure applyImageEffect(which: TImageEffects; power: byte);
Description
This method applies a graphical effect to the image, specified by the which parameter. The power parameter gives the magnitude of the effect, from 0 to 10. Any value higher than 10 will be treated as a 10.
The ie_rotate effect will cause the image to spin continually on-screen, while passing ie_wave to which will cause the image to ripple.
The values entered in this routine will be gradually changed over the period of time set in the object's timer property. If timer is currently at 0, or has not yet been set, the changes will take place immediately. Passing ie_none to which will deactivate all graphical effects immediately. To deactivate an effect gradually, pass that effect with a power value of 0.
NOTE: It is possible to set both image effects at the same time. Due to technical limitations, only one can be displayed at the present time. This will be changed in the future. But for now, the ripple effect will take priority over the rotate effect.
Related topics
This help file was created with the free trial version of HelpScribble.