MaskPosition class

Position on a photo where a mask is placed.

Inheritance
Available Extensions

Constructors

MaskPosition({required MaskPoint point, required double x_shift, required double y_shift, required double scale, int? extra, int? clientId})
Position on a photo where a mask is placed

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
point MaskPoint
Part of the face, relative to which the mask is placed.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scale double
Mask scaling coefficient. (For example, 2.0 means a doubled size).
read / write
x_shift double
Shift by X-axis measured in widths of the mask scaled to the face size, from left to right. (For example, -1.0 will place the mask just to the left of the default mask position).
read / write
y_shift double
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).
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) MaskPosition?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"maskPosition"