At My Fingertips
Rapid Playground
text(content, font, points, color)
Creates a graphic with the text rendered using the specified font, size and color.
When the indicated True-Type Font is not found in the system, a very basilar font that is always available is used instead. The resulting graphic has the minimal size that still fits the whole text.
The pinning position is horizontally aligned on the left and vertically on the baseline of the text.
contentthe text to render
fontthe name of the font (e.g., “Arial” or “Fira Sans”)
pointssize in typographic points (e.g., 16)
colorthe color to be used to render the text
PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI
Privacy Policy • Platform Version 4153f55 (Wed, 02 Apr 2025 06:58:19 GMT)