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

26 lines
786 B
Markdown

---
title: maskPosition
description: Position on a photo where a mask should be placed
---
## Constructor: maskPosition
[Back to constructors index](index.md)
Position on a photo where a mask should be placed
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|point|[int](../types/int.md) | Yes|Part of a photo relative to which the mask should be placed. 0 - forehead, 1 - eyes, 2 - mouth, 3 - chin|
|x\_shift|[double](../types/double.md) | Yes|Shift by X-axis in pixels, from left to right|
|y\_shift|[double](../types/double.md) | Yes|Shift by Y-axis in pixels, from top to bottom|
|zoom|[double](../types/double.md) | Yes|Mask zoom coefficient|
### Type: [MaskPosition](../types/MaskPosition.md)