使用姿势

  1. Transform(domElement)//or Transform(domElement, true)
  2. //set
  3. domElement.translateX = 100
  4. domElement.scaleX = 0.5
  5. domElement.originX = 50
  6. //get
  7. console.log(domElement.translateX)