1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 13:46:54 +01:00
MadelineProto/docs/TD_docs/constructors/maskPosition.md
2017-08-25 14:43:29 +02:00

786 B

title description
maskPosition Position on a photo where a mask should be placed

Constructor: maskPosition

Back to constructors index

Position on a photo where a mask should be placed

Attributes:

Name Type Required Description
point int Yes Part of a photo relative to which the mask should be placed. 0 - forehead, 1 - eyes, 2 - mouth, 3 - chin
x_shift double Yes Shift by X-axis in pixels, from left to right
y_shift double Yes Shift by Y-axis in pixels, from top to bottom
zoom double Yes Mask zoom coefficient

Type: MaskPosition