Kanzi 3.9.10
kanzi::StateManager::StateTransitionAnimation Class Reference

#include <kanzi/core.ui/state_manager/state_manager.hpp>

Public Member Functions

bool equalObjectPath (string_view path) const
 Returns true if parameter is same as the animated property.
 
AnimationMode getAnimationMode () const
 Returns animation mode of this transition animation.
 
TimelineSharedPtr getCustomAnimation () const
 Returns custom animation of this transition animation.
 
EasingArguments getEasingArguments () const
 Gets the easing function arguments.
 
AnimationEasingMode getEasingMode () const
 Returns easing mode for this animation.
 
string getObjectPath () const
 Gets object path that contains the animated property.
 
AbstractPropertyType getPropertyType () const
 Returns property being animated by this transition animation.
 
chrono::milliseconds getStartTime () const
 Returns animation start time, in ms.
 
bool isLongerPath () const
 Does this transition animation use longer path.
 
void setAnimationMode (AnimationMode mode)
 Sets animation mode of this transition animation.
 
void setCustomAnimation (TimelineSharedPtr animation)
 Sets custom animation for this transition animation.
 
void setEasingArguments (const EasingArguments &easingArguments)
 Sets the easing function arguments.
 
void setEasingMode (AnimationEasingMode mode)
 Sets easing mode for this animation.
 
void setLongerPath (bool value)
 Sets this transition animation to use longer path.
 
void setObjectPath (string_view path)
 Sets object path that contains the animated property.
 
void setPropertyType (AbstractPropertyType propertyType)
 Sets property being animated by this transition animation.
 
void setStartTime (chrono::milliseconds startTime)
 Sets animation start time, in ms.
 
 StateTransitionAnimation ()
 

Static Public Member Functions

static StateTransitionAnimationPtr create ()
 

Constructor & Destructor Documentation

◆ StateTransitionAnimation()

kanzi::StateManager::StateTransitionAnimation::StateTransitionAnimation ( )
inlineexplicit

Member Function Documentation

◆ create()

static StateTransitionAnimationPtr kanzi::StateManager::StateTransitionAnimation::create ( )
static

◆ setStartTime()

void kanzi::StateManager::StateTransitionAnimation::setStartTime ( chrono::milliseconds startTime)

Sets animation start time, in ms.

◆ getStartTime()

chrono::milliseconds kanzi::StateManager::StateTransitionAnimation::getStartTime ( ) const

Returns animation start time, in ms.

◆ setPropertyType()

void kanzi::StateManager::StateTransitionAnimation::setPropertyType ( AbstractPropertyType propertyType)

Sets property being animated by this transition animation.

◆ getPropertyType()

AbstractPropertyType kanzi::StateManager::StateTransitionAnimation::getPropertyType ( ) const

Returns property being animated by this transition animation.

◆ getObjectPath()

string kanzi::StateManager::StateTransitionAnimation::getObjectPath ( ) const

Gets object path that contains the animated property.

◆ setObjectPath()

void kanzi::StateManager::StateTransitionAnimation::setObjectPath ( string_view path)

Sets object path that contains the animated property.

◆ equalObjectPath()

bool kanzi::StateManager::StateTransitionAnimation::equalObjectPath ( string_view path) const

Returns true if parameter is same as the animated property.

◆ setAnimationMode()

void kanzi::StateManager::StateTransitionAnimation::setAnimationMode ( AnimationMode mode)

Sets animation mode of this transition animation.

◆ getAnimationMode()

AnimationMode kanzi::StateManager::StateTransitionAnimation::getAnimationMode ( ) const

Returns animation mode of this transition animation.

◆ setEasingArguments()

void kanzi::StateManager::StateTransitionAnimation::setEasingArguments ( const EasingArguments & easingArguments)

Sets the easing function arguments.

◆ getEasingArguments()

EasingArguments kanzi::StateManager::StateTransitionAnimation::getEasingArguments ( ) const

Gets the easing function arguments.

◆ setEasingMode()

void kanzi::StateManager::StateTransitionAnimation::setEasingMode ( AnimationEasingMode mode)

Sets easing mode for this animation.

◆ getEasingMode()

AnimationEasingMode kanzi::StateManager::StateTransitionAnimation::getEasingMode ( ) const

Returns easing mode for this animation.

◆ setCustomAnimation()

void kanzi::StateManager::StateTransitionAnimation::setCustomAnimation ( TimelineSharedPtr animation)

Sets custom animation for this transition animation.

◆ getCustomAnimation()

TimelineSharedPtr kanzi::StateManager::StateTransitionAnimation::getCustomAnimation ( ) const

Returns custom animation of this transition animation.

◆ setLongerPath()

void kanzi::StateManager::StateTransitionAnimation::setLongerPath ( bool value)

Sets this transition animation to use longer path.

◆ isLongerPath()

bool kanzi::StateManager::StateTransitionAnimation::isLongerPath ( ) const

Does this transition animation use longer path.


The documentation for this class was generated from the following file: