Describes the position of a rectangle area on a story media or a TON wallet card.
More...
#include <Types.h>
|
| double | xPercentage { } |
| | The abscissa of the area's center, as a percentage of the media or the card width.
|
| double | yPercentage { } |
| | The ordinate of the area's center, as a percentage of the media or the card height.
|
| double | widthPercentage { } |
| | The width of the area's rectangle, as a percentage of the media or the card width.
|
| double | heightPercentage { } |
| | The height of the area's rectangle, as a percentage of the media or the card height.
|
| double | rotationAngle { } |
| | The clockwise rotation angle of the rectangle, in degrees; 0-360.
|
| double | cornerRadiusPercentage { } |
| | The radius of the rectangle corner rounding, as a percentage of the media or the card width.
|
Describes the position of a rectangle area on a story media or a TON wallet card.
Definition at line 570 of file Types.h.
◆ Ptr
◆ cornerRadiusPercentage
| double TgBot::AreaPosition::cornerRadiusPercentage { } |
The radius of the rectangle corner rounding, as a percentage of the media or the card width.
Definition at line 597 of file Types.h.
◆ heightPercentage
| double TgBot::AreaPosition::heightPercentage { } |
The height of the area's rectangle, as a percentage of the media or the card height.
Definition at line 588 of file Types.h.
◆ rotationAngle
| double TgBot::AreaPosition::rotationAngle { } |
The clockwise rotation angle of the rectangle, in degrees; 0-360.
Definition at line 592 of file Types.h.
◆ widthPercentage
| double TgBot::AreaPosition::widthPercentage { } |
The width of the area's rectangle, as a percentage of the media or the card width.
Definition at line 584 of file Types.h.
◆ xPercentage
| double TgBot::AreaPosition::xPercentage { } |
The abscissa of the area's center, as a percentage of the media or the card width.
Definition at line 576 of file Types.h.
◆ yPercentage
| double TgBot::AreaPosition::yPercentage { } |
The ordinate of the area's center, as a percentage of the media or the card height.
Definition at line 580 of file Types.h.
The documentation for this struct was generated from the following file: