I want to resize and rotate Panel with Shape. Now when I rotate PanelShape rotates too, but whet I resize Panel, Shape doesn’t resize.
Is it bug? or I have to add some properties?
That is the standard behavior, as you can experience in the unmodified sample Freehand Drawing Tool.
Depending on the type of Panel that you have and how its elements, including that Shape, are supposed to be arranged, I suspect you need to set GraphObject.stretch to go.GraphObject.Fill on that Shape.