Rotate a shape by a given point as center point

hi, is there any way to rotate a shape by specifying any point as shape’s center point?
Say i want rotate a rectangle by its vertex .
any idea is appreciated. thanks.

rotate a shpe below,by one of nine points

image

This functionality will be in version 2.0: https://gojs.net/latest/api/symbols/Part.html#rotationSpot

Release date is unknown at this time.