Skip to content

$wordSpacing

Specifies the spacing between words when drawing text.

Usage

$wordSpacing[canvas;spacing]

Parameters

FieldTypeDescriptionRequired
canvasStringName of the canvas to set the word spacing in.True
spacingNumberThe new word spacing.True

Example(s)

No examples for this function.

meow

Raw Info

{
"name": "$wordSpacing",
"description": "Specifies the spacing between words when drawing text.",
"params": [
{
"name": "canvas",
"description": "Name of the canvas to set the word spacing in.",
"type": "String",
"required": true
},
{
"name": "spacing",
"description": "The new word spacing.",
"type": "Number",
"required": true
}
],
"usage": "$wordSpacing[canvas;spacing]",
"category": "canvas",
"src": "https://github.com/devlordduck/aoi.canvas/tree/v2/src/functions/canvas/wordSpacing.ts",
"docs": "https://aoicanvas.vercel.app/functions/wordspacing"
}