Documentation

Function from library pytamaro

graphic_width(graphic)

graphic_widthgraphic

Returns the width of a graphic.

graphicgraphic to calculate the width of

Width of the graphic
Code
graphic_width(rectangle(100, 50, red))
Result
100

Logo of PyTamaro

PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI

Privacy PolicyPlatform Version 51a7c2e (Tue, 22 Apr 2025 08:35:06 GMT)