I'm trying to do rotation of SVGLocatableElement object. Currently I'm setting the transform Matrix trait with a SVGMatrix object.

SVGMatrix rotate = mapSVGRootElement.createSVGMatrixComponents(1.0f,0.0f,0.0f,1.0f,0.0f,0.0f);
street.setMatrixTrait("transform", rotate);

However my problem is that it rotates the element around the origin. What I need is for it to rotate in place so it doesn't move. Is there any good way to do that? Did I miss something?