Animation, state, and timing
Native Qt
Rotation Animation
Rotation Animation is a native Zui component in the animation, state, and timing catalog, with 12 component-specific properties.
Usage
Ruby example
Paste this complete Builder example inside the app surface from the Quickstart. Replace illustrative asset paths with files from your project.
tile = rectangle width: 80, height: 80, color: "#b7ff5a"
rotation_animation tile, property: :rotation, from: 0, to: 360, direction: :clockwise, duration: 320, running: true
API
Component properties
12 component-specific values, plus shared item and layout properties.
targetTarget configuration for Rotation Animation.propertypropertyProperty configuration for Rotation Animation.propertyfromFrom configuration for Rotation Animation.propertytoTo configuration for Rotation Animation.propertydurationDuration configuration for Rotation Animation.propertydelayDelay configuration for Rotation Animation.propertyeasingEasing configuration for Rotation Animation.propertydirectionDirection configuration for Rotation Animation.propertyloopsLoops configuration for Rotation Animation.propertyrunningRunning configuration for Rotation Animation.propertypausedPaused configuration for Rotation Animation.propertyvisibleVisible configuration for Rotation Animation.propertyShow 16 shared item properties
enabledopacityscalerotationzwidthheightfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction
Events
Subscribe with on widget, :event and keep behavior in Ruby.
↗
startNative event payload↗
stopNative event payload↗
finishNative event payload↗
running_changeNative event payload