Пример #1
0
        public override GraphicsBase CreateGraphics()
        {
            GraphicsBase b = new GraphicsLine(start, end, lineWidth, lineStyle, objectColor, actualScale);

            if (this.ID != 0)
            {
                b.Id         = this.ID;
                b.IsSelected = this.selected;
            }

            return(b);
        }
Пример #2
0
        public override GraphicsBase CreateGraphics()
        {
            GraphicsBase b = new GraphicsLine(start, end, lineWidth, objectColor, actualScale, layer, page, reportContent, reporter, reportDate);

            if (this.ID != 0)
            {
                b.Id         = this.ID;
                b.IsSelected = this.selected;
            }

            return(b);
        }
Пример #3
0
        public PropertiesGraphicsLine(GraphicsLine line)
        {
            if (line == null)
            {
                throw new ArgumentNullException("line");
            }

            start       = line.Start;
            end         = line.End;
            lineWidth   = line.LineWidth;
            objectColor = line.ObjectColor;
            actualScale = line.ActualScale;
            ID          = line.Id;
            selected    = line.IsSelected;
        }
Пример #4
0
        public PropertiesGraphicsLine(GraphicsLine line)
        {
            if (line == null)
            {
                throw new ArgumentNullException("line");
            }

            this.start       = line.Start;
            this.end         = line.End;
            this.lineWidth   = line.LineWidth;
            this.objectColor = line.ObjectColor;
            this.actualScale = line.ActualScale;
            this.ID          = line.Id;
            this.selected    = line.IsSelected;

            this.layer = line.Layer;
            this.page  = line.Page;

            this.reportContent = line.ReportContent;
            this.reporter      = line.Reporter;
            this.reportDate    = line.ReportDate;
        }