Skip to main content

qGUI

This was deprecated in 2.3.1
This item is deprecated. Do not use it for new work.

A group of utility functions to be used to help create visual effectcs with ROBLOX GUIs

Functions

AddNinePatch

qGUI.AddNinePatch(
frameFrame,--

The frame to texturize

imagestring,--

The URL of the image in question

imageSizeVector2,--

The size of the image overall, suggested to be 99/divisible by 3. Vector2 value.

radiusnumber,--

the radius you want the image to be at

type"ImageLabel" | "ImageButton",--

The type (Class) that the frame should be, either an ImageLabel or an ImageButton

propertiesany
) → ()

Makes a NinePatch in the frame, with the image.

Show raw api
{
    "functions": [
        {
            "name": "AddNinePatch",
            "desc": "Makes a NinePatch in the frame, with the image.",
            "params": [
                {
                    "name": "frame",
                    "desc": "The frame to texturize",
                    "lua_type": "Frame"
                },
                {
                    "name": "image",
                    "desc": "The URL of the image in question",
                    "lua_type": "string"
                },
                {
                    "name": "imageSize",
                    "desc": "The size of the image overall, suggested to be 99/divisible by 3. Vector2 value.",
                    "lua_type": "Vector2"
                },
                {
                    "name": "radius",
                    "desc": "the radius you want the image to be at",
                    "lua_type": "number"
                },
                {
                    "name": "type",
                    "desc": "The type (Class) that the frame should be, either an ImageLabel or an ImageButton",
                    "lua_type": "\"ImageLabel\" | \"ImageButton\""
                },
                {
                    "name": "properties",
                    "desc": "",
                    "lua_type": "any"
                }
            ],
            "returns": [],
            "function_type": "static",
            "source": {
                "line": 318,
                "path": "src/qgui/src/Shared/qGUI.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "qGUI",
    "desc": "A group of utility functions to be used to help create visual effectcs with ROBLOX GUIs",
    "deprecated": {
        "version": "2.3.1",
        "desc": null
    },
    "source": {
        "line": 7,
        "path": "src/qgui/src/Shared/qGUI.lua"
    }
}