Skip to content

$setFPS

Sets the FPS (Frames Per Second) of a GIF.

Usage

$setFPS[gif;frames?]

Parameters

FieldTypeDescriptionRequired
gifStringName of the GIF.True
framesNumberNumber of frames per second to display.False

Example(s)

No examples for this function.

meow

Raw Info

{
"name": "$setFPS",
"description": "Sets the FPS (Frames Per Second) of a GIF.",
"params": [
{
"name": "gif",
"description": "Name of the GIF.",
"type": "String",
"required": true
},
{
"name": "frames",
"description": "Number of frames per second to display.",
"type": "Number",
"required": false
}
],
"usage": "$setFPS[gif;frames?]",
"category": "gif",
"src": "https://github.com/devlordduck/aoi.canvas/tree/v2/src/functions/gif/setFPS.ts",
"docs": "https://aoicanvas.vercel.app/functions/setfps"
}