API Panel.Position.Animate: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 47: | Line 47: | ||
===Calling in a calculation=== | ===Calling in a calculation=== | ||
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Position.Animate(dest, start, end, millisecs)</pre> | * Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Position.Animate(dest, start, end, millisecs)</pre> | ||
Revision as of 11:54, 16 January 2023
Detailed description
This call animates between two objects, storing the result in a third Dest position. It performs the operation in the background over a specified time.
The closely related Morph call performs this operation allowing for any point on the scale to be stepped to, but it must be called manually by the user to perform an animation.
Animations can be stopped using StopAnimate
Examples
Calling in a calculation
- Add to a calculation icon:
::Panel.Position.Animate(dest, start, end, millisecs)