Skip to contents

Rotate an object in 2 dimensions

Usage

rotate(x, theta, ..., origin = ob_point(0, 0))

Arguments

x

object

theta

angle

...

<dynamic-dots> properties passed to style

origin

length 2 vector or point about which rotation occurs