add setTransform support