29 #ifndef THOR_COLORGRADIENT_HPP
30 #define THOR_COLORGRADIENT_HPP
34 #include <SFML/Graphics/Color.hpp>
71 sf::Color& operator[] (
float position);
76 sf::Color sampleColor(
float position)
const;
82 std::map<float, sf::Color> mColors;
92 sf::Color THOR_API blendColors(
const sf::Color& firstColor,
const sf::Color& secondColor,
float interpolation);
99 #endif // THOR_COLORGRADIENT_HPP
Definition: AnimationMap.hpp:42
Configuration header of the library.
Class to implement color gradients.
Definition: ColorGradient.hpp:49