You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Control - Scale Method
Animate a change of scale
Member of Control (PRIM_CTRL)

Parameters

Name

Type

Data Type

Description

ScaleWidth

*Input

Integer

Percentage width of the control when the animation ends

ScaleHeight

*Input

Integer

Percentage height of the control when the animation ends

Duration

*Input (Optional)

Integer

Number of milliseconds to take to complete the animation

Delay

*Input (Optional)

Integer

Number of milliseconds to wait before starting the animation

Details


Scale is an animation method that transitions a control's ScaleWidth and ScaleHeight properties from their current value to the specified value over the specified duration.
When the animation completes the control's ScaleHeight and ScaleWidth properties will match the specified values.
Like all animations, it is executed in a separate thread allowing other processing to continue.

See also

All Component Classes
Technical Reference

  • No labels