{
"id": 2113,
"name": "MaskPosition",
"variant": "declaration",
"kind": 256,
"flags": {},
"children": [
{
"id": 2114,
"name": "point",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "The part of the face relative to which the mask should be placed."
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 220,
"character": 1
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "forehead"
},
{
"type": "literal",
"value": "eyes"
},
{
"type": "literal",
"value": "mouth"
},
{
"type": "literal",
"value": "chin"
}
]
}
},
{
"id": 2117,
"name": "scale",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Mask scaling coefficient. For example, 2 means double size."
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 232,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2115,
"name": "xShift",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Shift by X-axis measured in widths of the mask scaled to the face size, from left to right.\nFor example, choosing -1 will place mask just to the left of the default mask position."
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 225,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 2116,
"name": "yShift",
"variant": "declaration",
"kind": 1024,
"flags": {},
"comment": {
"summary": [
{
"kind": "text",
"text": "Shift by Y-axis measured in heights of the mask scaled to the face size, from top to bottom. \nFor example, 1 will place the mask just below the default mask position."
}
]
},
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 230,
"character": 1
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
2114,
2117,
2115,
2116
]
}
],
"sources": [
{
"fileName": "packages/tgkit/src/types.ts",
"line": 218,
"character": 17
}
]
}