Skip to main content

UICornerUtils

Functions

fromScale

UICornerUtils.fromScale(
scalenumber,
parentInstance
) → UICorner

Creates a new UI corner

fromOffset

UICornerUtils.fromOffset(
offsetnumber,
parentInstance
) → UICorner

Creates a new UI corner from offset

Show raw api
{
    "functions": [
        {
            "name": "fromScale",
            "desc": "Creates a new UI corner",
            "params": [
                {
                    "name": "scale",
                    "desc": "",
                    "lua_type": "number"
                },
                {
                    "name": "parent",
                    "desc": "",
                    "lua_type": "Instance"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "UICorner"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 13,
                "path": "src/uiobjectutils/src/Client/UICornerUtils.lua"
            }
        },
        {
            "name": "fromOffset",
            "desc": "Creates a new UI corner from offset",
            "params": [
                {
                    "name": "offset",
                    "desc": "",
                    "lua_type": "number"
                },
                {
                    "name": "parent",
                    "desc": "",
                    "lua_type": "Instance"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "UICorner"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 26,
                "path": "src/uiobjectutils/src/Client/UICornerUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "UICornerUtils",
    "desc": "",
    "source": {
        "line": 4,
        "path": "src/uiobjectutils/src/Client/UICornerUtils.lua"
    }
}