NodeBox | Reference | Transform

Reference | Transform


Syntax
Transform()

DescriptionA personal transformation state you can use to apply translation, rotation, scaling and skewing to a path before drawing it.
Methods
t.translate(x=0, y=0)
t.rotate(degrees=0, radians=0)
t.scale(x=1, y=None)
t.skew(x=0, y=0)
t.invert()
t.append(t)
t.prepend(t)
t.transformPoint(point)
t.transformBezierPath(path)
t.copy()

See the tutorial on paths to learn more about the methods.

The transformBezierPath() method returns a new path with the defined transformations applied to it.