#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| object_ptr< MaskPoint > | point_ |
| | Part of the face, relative to which the mask is placed.
|
| |
| double | x_shift_ |
| | Shift by X-axis measured in widths of the mask scaled to the face size, from left to right. (For example, -1.0 will place the mask just to the left of the default mask position).
|
| |
| double | y_shift_ |
| | Shift by Y-axis measured in heights of the mask scaled to the face size, from top to bottom. (For example, 1.0 will place the mask just below the default mask position).
|
| |
| double | scale_ |
| | Mask scaling coefficient. (For example, 2.0 means a doubled size).
|
| |
|
| static const std::int32_t | ID = -2097433026 |
| | Identifier uniquely determining a type of the object.
|
| |
Position on a photo where a mask is placed.
Definition at line 38423 of file td_api.h.
◆ maskPosition() [1/2]
| td::td_api::maskPosition::maskPosition |
( |
| ) |
|
Position on a photo where a mask is placed.
◆ maskPosition() [2/2]
| td::td_api::maskPosition::maskPosition |
( |
object_ptr< MaskPoint > && |
point_, |
|
|
double |
x_shift_, |
|
|
double |
y_shift_, |
|
|
double |
scale_ |
|
) |
| |
Position on a photo where a mask is placed.
- Parameters
-
| [in] | point_ | Part of the face, relative to which the mask is placed. |
| [in] | x_shift_ | Shift by X-axis measured in widths of the mask scaled to the face size, from left to right. (For example, -1.0 will place the mask just to the left of the default mask position). |
| [in] | y_shift_ | Shift by Y-axis measured in heights of the mask scaled to the face size, from top to bottom. (For example, 1.0 will place the mask just below the default mask position). |
| [in] | scale_ | Mask scaling coefficient. (For example, 2.0 means a doubled size). |
◆ store()
| void td::td_api::maskPosition::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.
◆ ID
| const std::int32_t td::td_api::maskPosition::ID = -2097433026 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 38458 of file td_api.h.
◆ point_
Part of the face, relative to which the mask is placed.
Definition at line 38434 of file td_api.h.
◆ scale_
| double td::td_api::maskPosition::scale_ |
Mask scaling coefficient. (For example, 2.0 means a doubled size).
Definition at line 38440 of file td_api.h.
◆ x_shift_
| double td::td_api::maskPosition::x_shift_ |
Shift by X-axis measured in widths of the mask scaled to the face size, from left to right. (For example, -1.0 will place the mask just to the left of the default mask position).
Definition at line 38436 of file td_api.h.
◆ y_shift_
| double td::td_api::maskPosition::y_shift_ |
Shift by Y-axis measured in heights of the mask scaled to the face size, from top to bottom. (For example, 1.0 will place the mask just below the default mask position).
Definition at line 38438 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