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);
Header file for Fraction class.
Header file for JSON class.
This class represents a Cartesian coordinate (X, Y) used in the Keyframe animation system.
void SetJsonValue(const Json::Value root)
Load Json::Value into this object.
Json::Value JsonValue() const
Generate Json::Value for this object.
std::string Json() const
Generate JSON string of this object.
void SetJson(const std::string value)
Load JSON string into this object.
double X
The X value of the coordinate (usually representing the frame #)
double Y
The Y value of the coordinate (usually representing the value of the property being animated)
Coordinate()
The default constructor, which defaults to (0,0)
This namespace is the default namespace for all code in the openshot library.