documentation index ◦ reference manual ◦ function index
Function: | ui.transform | (function=None, alpha=1, rotate=None, zoom=1, xzoom=1, yzoom=1, style='transform', **properties): |
Wraps its child in a Transform, allowing the child to be rotated, zoomed, and alpha-modified. Parameters are as for Transform.
# Displays a textbutton rotated 90 degrees. python: transform = ui.transform() ui.textbutton("Hello, World", clicked=ui.returns(True)) transform.rotate = 90 transform.update()