Navigation
Synopsis Rotate a figure.
Function Figure rotate(num angle, Figure fig)
Description Currently doesn't work!

Rotate figure fig angle degrees around its anchor point.

Also see Angles.
Examples //b = box(size(100,50), fillColor("Red")); //render(rotate(45, b));

rotate 1

//b1 = box(size(150,150), fillColor("Blue")); //b2 = box(size(100,50), fillColor("Red")); //render(hcat([b1, rotate(45, b2)]));

rotate 1
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.