clone method

GSvgShape clone()

Creates a new GSvgShape object that is a copy of this one.

The returned GSvgShape will have the same data and properties as this one.

Implementation

GSvgShape clone() {
  var obj = GSvgShape(data);
  obj._blendMode = _blendMode;
  obj._tint = _tint;
  obj.$alpha = $alpha;
  obj.transformationMatrix = transformationMatrix;
  return obj;
}