28 #ifndef OPENSHOT_SHIFT_EFFECT_H
29 #define OPENSHOT_SHIFT_EFFECT_H
31 #include "../EffectBase.h"
37 #include "../KeyFrame.h"
56 void init_effect_details();
81 std::shared_ptr<Frame> GetFrame(std::shared_ptr<Frame> frame, int64_t frame_number);
85 void SetJson(
string value);
86 Json::Value JsonValue();
87 void SetJsonValue(Json::Value root);
91 string PropertiesJSON(int64_t requested_frame);
This abstract class is the base class, used by all effects in libopenshot.
Keyframe x
Shift the X coordinates (left or right)
Keyframe y
Shift the Y coordinates (up or down)
A Keyframe is a collection of Point instances, which is used to vary a number or property over time...
This class shifts the pixels of an image up, down, left, or right, and can be animated with openshot:...