ApasScript.

Transformations

translate

Moves a shape by (dx, dy), or by a vector.

rotate

Turns a shape counter-clockwise by an angle in DEGREES, about the origin or a given centre -- exact for quarter turns and, where the point allows, 30/45/60 degrees. (A vector's rotate(v, theta) is in radians -- see Vectors.)

scale

Enlarges a shape by a scale factor k about the origin or a centre, or by kx across and ky up (a negative factor also turns it round). A circle's radius scales too. (scale(v, k) on a vector: see Vectors.)

reflect

Reflects a shape in a line, in a point, or in a named mirror: "x-axis", "y-axis", "y=x", "y=-x", "origin".

shear

Shears a shape: x' = x + kx*y, y' = y + ky*x. A circle does not stay a circle.