The function used in the above code is “text”, which is described in the Simple Inkscape Scripting documentation as follows:
From several examples, you can see that there are also several parameters/arguments/keywords used with “text()”
Eg. font_size
Text_anchor
Font_weight
Fill
Text_align
Font_family
My question is,
although the function text() is described above as “text(msg, (x, y), obj)” , there is no reference anywhere to the parameters that can be used and their definitions ?
Is the “text()” function and associated parameters defined in Inkscape, the Simple Inkscape Scripting extension or in Python ?
Where can a person find references to these parameters etc.
Hope someone can help me !
I want to start using the Inkscape Extension – Render – Simple Inkscape Scripting.
It is quite straightforward to use, You type in your code and “Apply” it, like this
It uses the extension that Simple Inkscape Scripting that can be downloaded from https://github.com/spakin/SimpInkScr
Plus there is helpful documentation
It uses Python, and there is online assistance on this, for example https://www.w3schools.com/python/default.asp
The function used in the above code is “text”, which is described in the Simple Inkscape Scripting documentation as follows:
From several examples, you can see that there are also several parameters/arguments/keywords used with “text()”
Eg. font_size
Text_anchor
Font_weight
Fill
Text_align
Font_family
My question is,
Mike King
This is CSS (Cascading Style Sheet) styling.
Check out these tutorials
SVG Properties in CSS
W3Schools CSS Tutorial