Mo Valipour
Mo Valipour

Reputation: 13496

How can I do a rotateX in raphael.js?

My search in the documentation of Raphael.js ends up in transform functionality, that [seem] to only support 2D transformation. i.e. translate, rotate, scale.

Now the question is: is there any way to apply (and animate) an element with a 3D transformation. e.g. rotateX. like what we have in CSS3:

transform: rotateX(100deg);

Upvotes: 1

Views: 132

Answers (1)

bjornd
bjornd

Reputation: 22943

No, Raphael only supports rotation in 2D around a given point with the rotate method.

Upvotes: 2

Related Questions