|
TDLib
|
Inherits td::td_api::Object.
Public Member Functions | |
| storyAreaPosition () | |
| storyAreaPosition (double x_percentage_, double y_percentage_, double width_percentage_, double height_percentage_, double rotation_angle_) | |
| std::int32_t | get_id () const final |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Member Functions inherited from td::TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = 104371833 |
| Identifier uniquely determining a type of the object. | |
Describes position of a clickable rectangle area on a story media.
| td::td_api::storyAreaPosition::storyAreaPosition | ( | ) |
Describes position of a clickable rectangle area on a story media.
| td::td_api::storyAreaPosition::storyAreaPosition | ( | double | x_percentage_, |
| double | y_percentage_, | ||
| double | width_percentage_, | ||
| double | height_percentage_, | ||
| double | rotation_angle_ | ||
| ) |
Describes position of a clickable rectangle area on a story media.
| [in] | x_percentage_ | The abscissa of the rectangle's center, as a percentage of the media width. |
| [in] | y_percentage_ | The ordinate of the rectangle's center, as a percentage of the media height. |
| [in] | width_percentage_ | The width of the rectangle, as a percentage of the media width. |
| [in] | height_percentage_ | The height of the rectangle, as a percentage of the media height. |
| [in] | rotation_angle_ | Clockwise rotation angle of the rectangle, in degrees; 0-360. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.