Add transform shape method. But seems there are some issue related to graphics.