#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| double | x_percentage_ |
| | The abscissa of the rectangle's center, as a percentage of the media width.
|
| |
| double | y_percentage_ |
| | The ordinate of the rectangle's center, as a percentage of the media height.
|
| |
| double | width_percentage_ |
| | The width of the rectangle, as a percentage of the media width.
|
| |
| double | height_percentage_ |
| | The height of the rectangle, as a percentage of the media height.
|
| |
| double | rotation_angle_ |
| | Clockwise rotation angle of the rectangle, in degrees; 0-360.
|
| |
| double | corner_radius_percentage_ |
| | The radius of the rectangle corner rounding, as a percentage of the media width.
|
| |
|
| static const std::int32_t | ID = -1533023124 |
| | Identifier uniquely determining a type of the object.
|
| |
Describes position of a clickable rectangle area on a story media.
Definition at line 68803 of file td_api.h.
◆ storyAreaPosition() [1/2]
| td::td_api::storyAreaPosition::storyAreaPosition |
( |
| ) |
|
Describes position of a clickable rectangle area on a story media.
◆ storyAreaPosition() [2/2]
| td::td_api::storyAreaPosition::storyAreaPosition |
( |
double |
x_percentage_, |
|
|
double |
y_percentage_, |
|
|
double |
width_percentage_, |
|
|
double |
height_percentage_, |
|
|
double |
rotation_angle_, |
|
|
double |
corner_radius_percentage_ |
|
) |
| |
Describes position of a clickable rectangle area on a story media.
- Parameters
-
| [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. |
| [in] | corner_radius_percentage_ | The radius of the rectangle corner rounding, as a percentage of the media width. |
◆ store()
| void td::td_api::storyAreaPosition::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ corner_radius_percentage_
| double td::td_api::storyAreaPosition::corner_radius_percentage_ |
The radius of the rectangle corner rounding, as a percentage of the media width.
Definition at line 68824 of file td_api.h.
◆ height_percentage_
| double td::td_api::storyAreaPosition::height_percentage_ |
The height of the rectangle, as a percentage of the media height.
Definition at line 68820 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::storyAreaPosition::ID = -1533023124 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 68844 of file td_api.h.
◆ rotation_angle_
| double td::td_api::storyAreaPosition::rotation_angle_ |
Clockwise rotation angle of the rectangle, in degrees; 0-360.
Definition at line 68822 of file td_api.h.
◆ width_percentage_
| double td::td_api::storyAreaPosition::width_percentage_ |
The width of the rectangle, as a percentage of the media width.
Definition at line 68818 of file td_api.h.
◆ x_percentage_
| double td::td_api::storyAreaPosition::x_percentage_ |
The abscissa of the rectangle's center, as a percentage of the media width.
Definition at line 68814 of file td_api.h.
◆ y_percentage_
| double td::td_api::storyAreaPosition::y_percentage_ |
The ordinate of the rectangle's center, as a percentage of the media height.
Definition at line 68816 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h