Skip to main content

HSColorPickerCursor

The actual cursor for the HSV (it's a plus). See HSVColorPicker.

Functions

HintBackgroundColor

HSColorPickerCursor:HintBackgroundColor(colorColor3) → ()

Hints the background color so contrast can be set appropriately.

SetHeight

HSColorPickerCursor:SetHeight(heightnumber) → ()

Sets the size of the cursor.

SetPosition

HSColorPickerCursor:SetPosition(positionVector2) → ()

Sets the Vector2 position in scale (from 0 to 1).

GetPosition

HSColorPickerCursor:GetPosition() → Vector2

Gets the position of the cursor in scale

SetTransparency

HSColorPickerCursor:SetTransparency(transparencynumber) → ()

Sets the transparency of the cusor

Show raw api
{
    "functions": [
        {
            "name": "HintBackgroundColor",
            "desc": "Hints the background color so contrast can be set appropriately.",
            "params": [
                {
                    "name": "color",
                    "desc": "",
                    "lua_type": "Color3"
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 43,
                "path": "src/colorpicker/src/Client/Cursor/HSColorPickerCursor.lua"
            }
        },
        {
            "name": "SetHeight",
            "desc": "Sets the size of the cursor.",
            "params": [
                {
                    "name": "height",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 62,
                "path": "src/colorpicker/src/Client/Cursor/HSColorPickerCursor.lua"
            }
        },
        {
            "name": "SetPosition",
            "desc": "Sets the Vector2 position in scale (from 0 to 1).",
            "params": [
                {
                    "name": "position",
                    "desc": "",
                    "lua_type": "Vector2"
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 71,
                "path": "src/colorpicker/src/Client/Cursor/HSColorPickerCursor.lua"
            }
        },
        {
            "name": "GetPosition",
            "desc": "Gets the position of the cursor in scale",
            "params": [],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Vector2"
                }
            ],
            "function_type": "method",
            "source": {
                "line": 82,
                "path": "src/colorpicker/src/Client/Cursor/HSColorPickerCursor.lua"
            }
        },
        {
            "name": "SetTransparency",
            "desc": "Sets the transparency of the cusor",
            "params": [
                {
                    "name": "transparency",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 91,
                "path": "src/colorpicker/src/Client/Cursor/HSColorPickerCursor.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "HSColorPickerCursor",
    "desc": "The actual cursor for the HSV (it's a plus). See [HSVColorPicker].",
    "source": {
        "line": 6,
        "path": "src/colorpicker/src/Client/Cursor/HSColorPickerCursor.lua"
    }
}