Exemplo n.º 1
0
 /// <summary>
 /// Copy the gradient properties from another element
 /// </summary>
 protected void CopyGradientprop(ShapeElement element)
 {
     this.useGradientFillColor = element.useGradientFillColor;
     this.gradientColor        = element.gradientColor;
     this.gradientAlpha        = element.gradientAlpha;
     this.gradientDimension    = element.gradientDimension;
     this.gradientAngle        = element.gradientAngle;
     this.endColorPosition     = element.endColorPosition;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deep copies "this" object  to "to" object
 /// </summary>
 /// <param name="to">Object to copied</param>
 protected void CopyProperties(ShapeElement to)
 {
     this.CopyProperties(to);
 }