31 #ifndef OPENSHOT_COORDINATE_H 32 #define OPENSHOT_COORDINATE_H 69 Coordinate(
const std::pair<double, double>& co);
72 std::string
Json()
const;
74 void SetJson(
const std::string value);
This class represents a Cartesian coordinate (X, Y) used in the Keyframe animation system...
Header file for Fraction class.
Json::Value JsonValue() const
Generate Json::Value for this object.
double Y
The Y value of the coordinate (usually representing the value of the property being animated) ...
Header file for JSON class.
double X
The X value of the coordinate (usually representing the frame #)
This namespace is the default namespace for all code in the openshot library.
void SetJsonValue(const Json::Value root)
Load Json::Value into this object.
Coordinate()
The default constructor, which defaults to (0,0)
void SetJson(const std::string value)
Load JSON string into this object.
std::string Json() const
Generate JSON string of this object.