a PaintCode - Dynamic Shapes & Transforms

Dynamic Shapes & Transforms

Once the shape is transformed (for example, rotated), it is no longer possible to set its resizing constraints as described in the previous sections.

Rotated dynamic shapeRotated dynamic shape

In these cases, however, you can still specify the positioning behavior of the

transform origin of the shape. This allows you to, for example,

center a rotated shape in its frame, even though you can no longer control its dimensions.

In these cases, the resizing control looks different - there is a green transform origin symbol in the middle:

Resizing control for transformed shape

The same limitation also apply when there is a variable connected to one of the shape's transform attributes.