public override GraphicsBase CreateGraphics() { GraphicsBase b = new GraphicsArrow(start, end, lineWidth, objectColor, actualScale, layer, page, reportContent, reporter, reportDate); if (this.ID != 0) { b.Id = this.ID; b.IsSelected = this.selected; } return(b); }
public PropertiesGraphicsArrow(GraphicsArrow arrow) { if (arrow == null) { throw new ArgumentNullException("arrow"); } start = arrow.Start; end = arrow.End; lineWidth = arrow.LineWidth; objectColor = arrow.ObjectColor; actualScale = arrow.ActualScale; ID = arrow.Id; selected = arrow.IsSelected; this.layer = arrow.Layer; this.page = arrow.Page; this.reportContent = arrow.ReportContent; this.reporter = arrow.Reporter; this.reportDate = arrow.ReportDate; }