TgKit library and website are still in early development!

MaskPosition Interface

Properties

point

The part of the face relative to which the mask should be placed.

See the code

scale number

Mask scaling coefficient. For example, 2 means double size.

See the code

xShift number

Shift by X-axis measured in widths of the mask scaled to the face size, from left to right. For example, choosing -1 will place mask just to the left of the default mask position.

See the code

yShift number

Shift by Y-axis measured in heights of the mask scaled to the face size, from top to bottom. For example, 1 will place the mask just below the default mask position.

See the code