Show raw api
{
"functions": [
{
"name": "toNumber",
"desc": "Converts alignment to 0, 0.5 or 1",
"params": [
{
"name": "alignment",
"desc": "",
"lua_type": "HorizontalAlignment | VertialAlignment"
}
],
"returns": [
{
"desc": "",
"lua_type": "number"
}
],
"function_type": "static",
"source": {
"line": 51,
"path": "src/uiobjectutils/src/Client/UIAlignmentUtils.lua"
}
},
{
"name": "verticalToHorizontalAlignment",
"desc": "Converts the HorizontalAlignment to a HorizontalAlignment",
"params": [
{
"name": "verticalAlignment",
"desc": "",
"lua_type": "HorizontalAlignment"
}
],
"returns": [
{
"desc": "",
"lua_type": "HorizontalAlignment"
}
],
"function_type": "static",
"source": {
"line": 68,
"path": "src/uiobjectutils/src/Client/UIAlignmentUtils.lua"
}
},
{
"name": "horizontalToVerticalAlignment",
"desc": "Converts the HorizontalAlignment to a VertialAlignment",
"params": [
{
"name": "horizontalAlignment",
"desc": "",
"lua_type": "HorizontalAlignment"
}
],
"returns": [
{
"desc": "",
"lua_type": "VertialAlignment"
}
],
"function_type": "static",
"source": {
"line": 90,
"path": "src/uiobjectutils/src/Client/UIAlignmentUtils.lua"
}
},
{
"name": "toBias",
"desc": "Converts alignment to bias, as -1, 0, or 1",
"params": [
{
"name": "alignment",
"desc": "",
"lua_type": "HorizontalAlignment | VertialAlignment"
}
],
"returns": [
{
"desc": "",
"lua_type": "number"
}
],
"function_type": "static",
"source": {
"line": 113,
"path": "src/uiobjectutils/src/Client/UIAlignmentUtils.lua"
}
},
{
"name": "horizontalAlignmentToNumber",
"desc": "Converts alignment to a number from 0 to 1",
"params": [
{
"name": "horizontalAlignment",
"desc": "",
"lua_type": "HorizontalAlignment"
}
],
"returns": [
{
"desc": "",
"lua_type": "number"
}
],
"function_type": "static",
"source": {
"line": 131,
"path": "src/uiobjectutils/src/Client/UIAlignmentUtils.lua"
}
},
{
"name": "horizontalAlignmentToBias",
"desc": "Converts alignment to a number from -1 to 1",
"params": [
{
"name": "horizontalAlignment",
"desc": "",
"lua_type": "HorizontalAlignment"
}
],
"returns": [
{
"desc": "",
"lua_type": "number"
}
],
"function_type": "static",
"source": {
"line": 147,
"path": "src/uiobjectutils/src/Client/UIAlignmentUtils.lua"
}
},
{
"name": "verticalAlignmentToNumber",
"desc": "Converts alignment to a number from 0 to 1",
"params": [
{
"name": "verticalAlignment",
"desc": "",
"lua_type": "VerticalAlignment"
}
],
"returns": [
{
"desc": "",
"lua_type": "number"
}
],
"function_type": "static",
"source": {
"line": 163,
"path": "src/uiobjectutils/src/Client/UIAlignmentUtils.lua"
}
},
{
"name": "verticalAlignmentToBias",
"desc": "Converts alignment to a number from -1 to 1",
"params": [
{
"name": "verticalAlignment",
"desc": "",
"lua_type": "VerticalAlignment"
}
],
"returns": [
{
"desc": "",
"lua_type": "number"
}
],
"function_type": "static",
"source": {
"line": 179,
"path": "src/uiobjectutils/src/Client/UIAlignmentUtils.lua"
}
}
],
"properties": [],
"types": [],
"name": "UIAlignmentUtils",
"desc": "Utility methods for working with horizontal and vertical alignment",
"source": {
"line": 6,
"path": "src/uiobjectutils/src/Client/UIAlignmentUtils.lua"
}
}