Kanzi  3.9.9
Kanzi Engine C++ API
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. More...
 
AnimationMode getAnimationMode () const
 Returns animation mode of this transition animation. More...
 
TimelineSharedPtr getCustomAnimation () const
 Returns custom animation of this transition animation. More...
 
EasingArguments getEasingArguments () const
 Gets the easing function arguments. More...
 
AnimationEasingMode getEasingMode () const
 Returns easing mode for this animation. More...
 
string getObjectPath () const
 Gets object path that contains the animated property. More...
 
AbstractPropertyType getPropertyType () const
 Returns property being animated by this transition animation. More...
 
chrono::milliseconds getStartTime () const
 Returns animation start time, in ms. More...
 
bool isLongerPath () const
 Does this transition animation use longer path. More...
 
void setAnimationMode (AnimationMode mode)
 Sets animation mode of this transition animation. More...
 
void setCustomAnimation (TimelineSharedPtr animation)
 Sets custom animation for this transition animation. More...
 
void setEasingArguments (const EasingArguments &easingArguments)
 Sets the easing function arguments. More...
 
void setEasingMode (AnimationEasingMode mode)
 Sets easing mode for this animation. More...
 
void setLongerPath (bool value)
 Sets this transition animation to use longer path. More...
 
void setObjectPath (string_view path)
 Sets object path that contains the animated property. More...
 
void setPropertyType (AbstractPropertyType propertyType)
 Sets property being animated by this transition animation. More...
 
void setStartTime (chrono::milliseconds startTime)
 Sets animation start time, in ms. More...
 
 StateTransitionAnimation ()
 

Static Public Member Functions

static StateTransitionAnimationPtr create ()
 

Constructor & Destructor Documentation

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

Member Function Documentation

static StateTransitionAnimationPtr kanzi::StateManager::StateTransitionAnimation::create ( )
static
void kanzi::StateManager::StateTransitionAnimation::setStartTime ( chrono::milliseconds  startTime)

Sets animation start time, in ms.

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

Returns animation start time, in ms.

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

Sets property being animated by this transition animation.

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

Returns property being animated by this transition animation.

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

Gets object path that contains the animated property.

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

Sets object path that contains the animated property.

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

Returns true if parameter is same as the animated property.

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

Sets animation mode of this transition animation.

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

Returns animation mode of this transition animation.

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

Sets the easing function arguments.

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

Gets the easing function arguments.

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

Sets easing mode for this animation.

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

Returns easing mode for this animation.

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

Sets custom animation for this transition animation.

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

Returns custom animation of this transition animation.

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

Sets this transition animation to use longer path.

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

Does this transition animation use longer path.


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