class EE::UI::CSS::KeyframesDefinition

Overview

#include <keyframesdefinition.hpp>

class KeyframesDefinition {
public:
    // structs

    struct KeyframeBlock;

    // fields

    Uint32 marker { 0 };
    std::string name;
    std::map<Float, KeyframeBlock> keyframeBlocks;

    // methods

    static KeyframesDefinition parseKeyframes(const std::string& name, const std::vector<std::shared_ptr<StyleSheetStyle>>& keyframeBlocks);
    const std::string& getName() const;
    const std::map<Float, KeyframeBlock>& getKeyframeBlocks() const;
    std::map<PropertyId, const PropertyDefinition*> getPropertyDefinitionList() const;
    const Uint32& getMarker() const;
    void setMarker(const Uint32& marker);
};

Detailed Documentation

Methods

std::map<PropertyId, const PropertyDefinition*> getPropertyDefinitionList() const

Returns:

A map containing all the properties involved in the keyframes definition.