Class MaskPositionType.
see | |
---|---|
package | Default |
create(string $point, float $xShift, float $yShift, float $scale) : \TgBotApi\BotApiBase\Type\MaskPositionType
string
float
float
float
\TgBotApi\BotApiBase\Type\MaskPositionType
$point : string
$scale : float
$xShift : float
For example, choosing -1.0 will place mask just to the left of the default mask position.
$yShift : float
For example, 1.0 will place the mask just below the default mask position.
MASK_POINT_CHIN = 'chin'
MASK_POINT_EYES = 'eyes'
MASK_POINT_FOREHEAD = 'forehead'
MASK_POINT_MOUTH = 'mouth'