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: Part | GoJS API

Release date is unknown at this time.