identity static method

TransformComponents identity()

Implementation

static TransformComponents identity() {
  TransformComponents tc = TransformComponents();
  tc.x = 0.0;
  tc.y = 0.0;
  tc.scaleX = 1.0;
  tc.scaleY = 1.0;
  tc.skew = 0.0;
  tc.rotation = 0.0;
  return tc;
}