Is it possible, to rotate a shape inside another shape with CenterLocator?
var shelvingCode = new draw2d.shape.basic.Label({ text: '1.01' });
myShape.add(this.shelvingCode, new draw2d.layout.locator.CenterLocator());
I tried to use the special command for it.
new draw2d.command.CommandRotate(shelvingCode , (shelvingCode .getRotationAngle() + 90) % 360);
But it seems doesn't work.