# NodeBox

Create visual output with Python programming code
Home Download Reference Tutorial Library Gallery About

# Reference | transform()

Syntax |
    transform(mode=CENTER)
Description | Sets the registration point - the offset for rotate(), scale() and skew() commands. By default, shapes, paths, text and images rotate around their own centerpoint. Optionally, transform() can be called with mode=CORNER to rotate and skew around the canvas' upper left corner.
Returns | the current transform mode (CORNER or CENTER)