Skip to content

$strokeText

Draw stroke text.

Usage

$strokeText[canvas;text;color?;font?;x;y;strokeWidth?;maxWidth?;align?;baseline?]

Parameters

FieldDescriptionTypeRequired
canvasThe canvas name.stringtrue
textThe text.stringtrue
styleThe text style.color | gradientfalse
fontThe text font.fonttrue
xThe text X position.numbertrue
yThe text Y position.numbertrue
strokeWidthThe text stroke width.numberfalse
maxWidthThe text max width.numberfalse
alignThe text align.stringfalse
baselineThe text baseline.stringfalse