class EE::UI::CSS::TransitionDefinition

#include <transitiondefinition.hpp>

class TransitionDefinition {
public:
    // fields

    std::string property;
    Ease::Interpolation timingFunction = Ease::Interpolation::Linear;
    std::vector<double> timingFunctionParameters {};
    Time delay = Time::Zero;
    Time duration = Time::Zero;

    // methods

    static UnorderedMap<std::string, TransitionDefinition> parseTransitionProperties(const std::vector<const StyleSheetProperty*>& styleSheetProperties);
    const std::string& getProperty() const;
    Ease::Interpolation getTimingFunction() const;
    std::vector<double> getTimingFunctionParameters() const;
    const Time& getDelay() const;
    const Time& getDuration() const;
};