public override object Clone() { LineRenderingAction clone = new LineRenderingAction(); clone.X1 = (mvarX1.Clone() as RenderingExpression); clone.X2 = (mvarX2.Clone() as RenderingExpression); clone.Y1 = (mvarY1.Clone() as RenderingExpression); clone.Y2 = (mvarY2.Clone() as RenderingExpression); clone.Outline = (mvarOutline.Clone() as Outline); return(clone); }
public override object Clone() { RectangleRenderingAction clone = new RectangleRenderingAction(); clone.X = (mvarX.Clone() as RenderingExpression); clone.Y = (mvarY.Clone() as RenderingExpression); clone.Width = (mvarWidth.Clone() as RenderingExpression); clone.Height = (mvarHeight.Clone() as RenderingExpression); clone.Outline = (mvarOutline.Clone() as Outline); clone.Fill = (mvarFill.Clone() as Fill); return(clone); }
public override object Clone() { TextRenderingAction clone = new TextRenderingAction(); clone.X = (mvarX.Clone() as RenderingExpression); clone.Y = (mvarY.Clone() as RenderingExpression); clone.Width = (mvarWidth.Clone() as RenderingExpression); clone.Height = (mvarHeight.Clone() as RenderingExpression); clone.Color = (mvarColor.Clone() as string); clone.Value = (mvarValue.Clone() as string); clone.HorizontalAlignment = mvarHorizontalAlignment; clone.VerticalAlignment = mvarVerticalAlignment; return(clone); }