Skip to main content

Image

Equivalent to Roblox's ImageLabel.

Types

ImageProps

interface ImageProps {
...BaseProps
ImageFusion.UsedAs<string>?
FallbackImageFusion.UsedAs<string>?
ImageColor3Fusion.UsedAs<Color3>?
ImageTransparencyFusion.UsedAs<number>?
ImageRectSizeFusion.UsedAs<Vector2>?
ResampleModeFusion.UsedAs<Enum.ResamplerMode>?
ScaleTypeFusion.UsedAs<Enum.ScaleType>?
SliceCenterFusion.UsedAs<Rect>?
SliceScaleFusion.UsedAs<number>?
TileSizeFusion.UsedAs<UDim2>?
}
Show raw api
{
    "functions": [],
    "properties": [],
    "types": [
        {
            "name": "ImageProps",
            "desc": "",
            "fields": [
                {
                    "name": "...",
                    "lua_type": "BaseProps",
                    "desc": ""
                },
                {
                    "name": "Image",
                    "lua_type": "Fusion.UsedAs<string>?",
                    "desc": ""
                },
                {
                    "name": "FallbackImage",
                    "lua_type": "Fusion.UsedAs<string>?",
                    "desc": ""
                },
                {
                    "name": "ImageColor3",
                    "lua_type": "Fusion.UsedAs<Color3>?",
                    "desc": ""
                },
                {
                    "name": "ImageTransparency",
                    "lua_type": "Fusion.UsedAs<number>?",
                    "desc": ""
                },
                {
                    "name": "ImageRectSize",
                    "lua_type": "Fusion.UsedAs<Vector2>?",
                    "desc": ""
                },
                {
                    "name": "ResampleMode",
                    "lua_type": "Fusion.UsedAs<Enum.ResamplerMode>?",
                    "desc": ""
                },
                {
                    "name": "ScaleType",
                    "lua_type": "Fusion.UsedAs<Enum.ScaleType>?",
                    "desc": ""
                },
                {
                    "name": "SliceCenter",
                    "lua_type": "Fusion.UsedAs<Rect>?",
                    "desc": ""
                },
                {
                    "name": "SliceScale",
                    "lua_type": "Fusion.UsedAs<number>?",
                    "desc": ""
                },
                {
                    "name": "TileSize",
                    "lua_type": "Fusion.UsedAs<UDim2>?",
                    "desc": ""
                }
            ],
            "source": {
                "line": 47,
                "path": "src/Components/Image.luau"
            }
        }
    ],
    "name": "Image",
    "desc": "Equivalent to Roblox's `ImageLabel`.",
    "source": {
        "line": 6,
        "path": "src/Components/Image.luau"
    }
}