above
(
top_graphic
,
bottom_graphic
)
Creates a new graphic by placing the two graphics one above the other. The two graphics are horizontally centered.
The pinning position of the new graphic is at its center.
top_graphic
graphic to place on the top
bottom_graphic
graphic to place on the bottom
show_graphic(above(rectangle(100, 50, red), rectangle(50, 50, blue)))
PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI
Privacy Policy • Platform Version ede3c94 (Fri, 23 May 2025 14:43:18 GMT)