tgbot-cpp
Loading...
Searching...
No Matches
MaskPosition.h
Go to the documentation of this file.
1#ifndef TGBOT_MARKPOSITION_H
2#define TGBOT_MARKPOSITION_H
3
4#include <memory>
5#include <string>
6
7namespace TgBot {
8
15public:
16 typedef std::shared_ptr<MaskPosition> Ptr;
17
21 std::string point;
22
26 float xShift;
27
31 float yShift;
32
36 float scale;
37};
38}
39
40#endif //TGBOT_MARKPOSITION_H
This object describes the position on faces where a mask should be placed by default.
std::shared_ptr< MaskPosition > Ptr
float yShift
Shift by Y-axis measured in heights of the mask scaled to the face size, from top to bottom....
std::string point
The part of the face relative to which the mask should be placed. One of “forehead”,...
float scale
Mask scaling coefficient. For example, 2.0 means double size.
float xShift
Shift by X-axis measured in widths of the mask scaled to the face size, from left to right....
Definition Api.h:40