Skip to content

$loadImage

Loads an image.

Usage

$loadImage[image;path]

Parameters

FieldTypeDescriptionRequired
imageStringName of the image.True
pathPath | URLPath or url to the image.True

Example(s)

No examples for this function.

meow

Raw Info

{
"name": "$loadImage",
"description": "Loads an image.",
"params": [
{
"name": "image",
"description": "Name of the image.",
"type": "String",
"required": true
},
{
"name": "path",
"description": "Path or url to the image.",
"type": "Path | URL",
"required": true
}
],
"usage": "$loadImage[image;path]",
"category": "canvas",
"src": "https://github.com/devlordduck/aoi.canvas/tree/v2/src/functions/canvas/loadImage.ts",
"docs": "https://aoicanvas.vercel.app/functions/loadimage"
}