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": 50,
"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": 67,
"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": 82,
"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": 99,
"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": 117,
"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": 133,
"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": 149,
"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": 165,
"path": "src/uiobjectutils/src/Client/UIAlignmentUtils.lua"
}
}
],
"properties": [],
"types": [],
"name": "UIAlignmentUtils",
"desc": "Utility methods for working with horizontal and vertical alignment",
"source": {
"line": 5,
"path": "src/uiobjectutils/src/Client/UIAlignmentUtils.lua"
}
}