Skip to content
Christopher Ross-Gill edited this page Aug 1, 2016 · 1 revision

ROTATE

Sets the clockwise rotation, in degrees, for drawing commands.

Arg Type Description Values
angle [decimal!]


Notes and Examples

Negative numbers can be used for counter-clockwise rotation.

fill-pen blue box 100x100 300x300 rotate 30 fill-pen red box 100x100 300x300 rotate -60 fill-pen yellow box 100x100 300x300


See also: http://www.w3.org/TR/SVG/coords.html#EstablishingANewUserSpace

Clone this wiki locally