Вход Регистрация
Файл: upload/core/vendor/longman/telegram-bot/src/Entities/MaskPosition.php
Строк: 30
<?php

/**
 * This file is part of the TelegramBot package.
 *
 * (c) Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace LongmanTelegramBotEntities;

/**
 * Class MaskPosition
 *
 * @link https://core.telegram.org/bots/api#maskposition
 *
 * @method string getPoint()  The part of the face relative to which the mask should be placed. One of “forehead”, “eyes”, “mouth”, or “chin”.
 * @method float  getXShift() Shift by X-axis measured in widths of the mask scaled to the face size, from left to right. For example, choosing -1.0 will place mask just to the left of the default mask position.
 * @method float  getYShift() 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.
 * @method float  getScale()  Mask scaling coefficient. For example, 2.0 means double size.
 */
class MaskPosition extends Entity
{

}
Онлайн: 2
Реклама