Files
divkit/expression-api/function_signatures_color.json
T
4eb0da cd19a33400 alphaBlend
commit_hash:bad4fcbde781860c740e252c3ca43011d1831bd5
2026-05-25 14:13:06 +03:00

482 lines
10 KiB
JSON

{
"$schema": "schema/signatures.json",
"signatures": [
{
"name": "getColorAlpha",
"description": {
"$ref": "translations.json#/getcoloralpha_string"
},
"arguments": [
{
"type": "string",
"description": {
"$ref": "translations.json#/getcoloralpha_string_arg0"
}
}
],
"return_type": "number",
"platforms": [
"android",
"ios",
"web",
"flutter"
]
},
{
"name": "getColorAlpha",
"description": {
"$ref": "translations.json#/getcoloralpha_color"
},
"arguments": [
{
"type": "color",
"description": {
"$ref": "translations.json#/getcoloralpha_color_arg0"
}
}
],
"return_type": "number",
"platforms": [
"android",
"ios",
"web",
"flutter"
]
},
{
"name": "getColorRed",
"description": {
"$ref": "translations.json#/getcolorred_string"
},
"arguments": [
{
"type": "string",
"description": {
"$ref": "translations.json#/getcolorred_string_arg0"
}
}
],
"return_type": "number",
"platforms": [
"android",
"ios",
"web",
"flutter"
]
},
{
"name": "getColorRed",
"description": {
"$ref": "translations.json#/getcolorred_color"
},
"arguments": [
{
"type": "color",
"description": {
"$ref": "translations.json#/getcolorred_color_arg0"
}
}
],
"return_type": "number",
"platforms": [
"android",
"ios",
"web",
"flutter"
]
},
{
"name": "getColorGreen",
"description": {
"$ref": "translations.json#/getcolorgreen_string"
},
"arguments": [
{
"type": "string",
"description": {
"$ref": "translations.json#/getcolorgreen_string_arg0"
}
}
],
"return_type": "number",
"platforms": [
"android",
"ios",
"web",
"flutter"
]
},
{
"name": "getColorGreen",
"description": {
"$ref": "translations.json#/getcolorgreen_color"
},
"arguments": [
{
"type": "color",
"description": {
"$ref": "translations.json#/getcolorgreen_color_arg0"
}
}
],
"return_type": "number",
"platforms": [
"android",
"ios",
"web",
"flutter"
]
},
{
"name": "getColorBlue",
"description": {
"$ref": "translations.json#/getcolorblue_string"
},
"arguments": [
{
"type": "string",
"description": {
"$ref": "translations.json#/getcolorblue_string_arg0"
}
}
],
"return_type": "number",
"platforms": [
"android",
"ios",
"web",
"flutter"
]
},
{
"name": "getColorBlue",
"description": {
"$ref": "translations.json#/getcolorblue_color"
},
"arguments": [
{
"type": "color",
"description": {
"$ref": "translations.json#/getcolorblue_color_arg0"
}
}
],
"return_type": "number",
"platforms": [
"android",
"ios",
"web",
"flutter"
]
},
{
"name": "setColorAlpha",
"description": {
"$ref": "translations.json#/setcoloralpha_string_number"
},
"arguments": [
{
"type": "string",
"description": {
"$ref": "translations.json#/setcoloralpha_string_number_arg0"
}
},
{
"type": "number",
"description": {
"$ref": "translations.json#/setcoloralpha_string_number_arg1"
}
}
],
"return_type": "color",
"platforms": [
"android",
"ios",
"web"
]
},
{
"name": "setColorAlpha",
"description": {
"$ref": "translations.json#/setcoloralpha_color_number"
},
"arguments": [
{
"type": "color",
"description": {
"$ref": "translations.json#/setcoloralpha_color_number_arg0"
}
},
{
"type": "number",
"description": {
"$ref": "translations.json#/setcoloralpha_color_number_arg1"
}
}
],
"return_type": "color",
"platforms": [
"android",
"ios",
"web",
"flutter"
]
},
{
"name": "setColorRed",
"description": {
"$ref": "translations.json#/setcolorred_string_number"
},
"arguments": [
{
"type": "string",
"description": {
"$ref": "translations.json#/setcolorred_string_number_arg0"
}
},
{
"type": "number",
"description": {
"$ref": "translations.json#/setcolorred_string_number_arg1"
}
}
],
"return_type": "color",
"platforms": [
"android",
"ios",
"web"
]
},
{
"name": "setColorRed",
"description": {
"$ref": "translations.json#/setcolorred_color_number"
},
"arguments": [
{
"type": "color",
"description": {
"$ref": "translations.json#/setcolorred_color_number_arg0"
}
},
{
"type": "number",
"description": {
"$ref": "translations.json#/setcolorred_color_number_arg1"
}
}
],
"return_type": "color",
"platforms": [
"android",
"ios",
"web",
"flutter"
]
},
{
"name": "setColorGreen",
"description": {
"$ref": "translations.json#/setcolorgreen_string_number"
},
"arguments": [
{
"type": "string",
"description": {
"$ref": "translations.json#/setcolorgreen_string_number_arg0"
}
},
{
"type": "number",
"description": {
"$ref": "translations.json#/setcolorgreen_string_number_arg1"
}
}
],
"return_type": "color",
"platforms": [
"android",
"ios",
"web"
]
},
{
"name": "setColorGreen",
"description": {
"$ref": "translations.json#/setcolorgreen_color_number"
},
"arguments": [
{
"type": "color",
"description": {
"$ref": "translations.json#/setcolorgreen_color_number_arg0"
}
},
{
"type": "number",
"description": {
"$ref": "translations.json#/setcolorgreen_color_number_arg1"
}
}
],
"return_type": "color",
"platforms": [
"android",
"ios",
"web",
"flutter"
]
},
{
"name": "setColorBlue",
"description": {
"$ref": "translations.json#/setcolorblue_string_number"
},
"arguments": [
{
"type": "string",
"description": {
"$ref": "translations.json#/setcolorblue_string_number_arg0"
}
},
{
"type": "number",
"description": {
"$ref": "translations.json#/setcolorblue_string_number_arg1"
}
}
],
"return_type": "color",
"platforms": [
"android",
"ios",
"web"
]
},
{
"name": "setColorBlue",
"description": {
"$ref": "translations.json#/setcolorblue_color_number"
},
"arguments": [
{
"type": "color",
"description": {
"$ref": "translations.json#/setcolorblue_color_number_arg0"
}
},
{
"type": "number",
"description": {
"$ref": "translations.json#/setcolorblue_color_number_arg1"
}
}
],
"return_type": "color",
"platforms": [
"android",
"ios",
"web",
"flutter"
]
},
{
"name": "argb",
"description": {
"$ref": "translations.json#/argb_number_number_number_number"
},
"arguments": [
{
"type": "number",
"description": {
"$ref": "translations.json#/argb_number_number_number_number_arg0"
}
},
{
"type": "number",
"description": {
"$ref": "translations.json#/argb_number_number_number_number_arg1"
}
},
{
"type": "number",
"description": {
"$ref": "translations.json#/argb_number_number_number_number_arg2"
}
},
{
"type": "number",
"description": {
"$ref": "translations.json#/argb_number_number_number_number_arg3"
}
}
],
"return_type": "color",
"platforms": [
"android",
"ios",
"web"
]
},
{
"name": "alphaBlend",
"description": {
"$ref": "translations.json#/alphablend_color_color"
},
"arguments": [
{
"type": "color",
"description": {
"$ref": "translations.json#/alphablend_color_color_arg0"
}
},
{
"type": "color",
"description": {
"$ref": "translations.json#/alphablend_color_color_arg1"
}
}
],
"return_type": "color",
"platforms": [
"android",
"ios",
"web"
]
},
{
"name": "rgb",
"description": {
"$ref": "translations.json#/rgb_number_number_number"
},
"arguments": [
{
"type": "number",
"description": {
"$ref": "translations.json#/rgb_number_number_number_arg0"
}
},
{
"type": "number",
"description": {
"$ref": "translations.json#/rgb_number_number_number_arg1"
}
},
{
"type": "number",
"description": {
"$ref": "translations.json#/rgb_number_number_number_arg2"
}
}
],
"return_type": "color",
"platforms": [
"android",
"ios",
"web"
]
}
]
}