TESTER

text_contours

text_contours(filename, size, x, y, text, precision, [timeout])

Convert text to polygon contours (list of coordinate)

Syntaxe

text_contours(filename="Arial.ttf", size=100, x=10, y=10, text="Hello", tolerance=10)

Arguments

NameRequiredDefaultDescription
filenameyes-Font file (.ttf)
sizeyes-Font size
xyes-x-coordinate of the left
yyes-y-coordinate of the bottom
textyes-Text string
precisionyes-Contour detail level (higher = more precise)
timeout--Network timeout in ms (optional)