Пример #1
0
        public IVertexCollection Clone()
        {
            var t = new VertexCollection();

            t._list.AddRange(_list);
            return(t);
        }
Пример #2
0
        protected ShapeBase()
        {
            _vertices = new VertexCollection();

            DrawMethod   = DrawMethod.ByDragDrop;
            CanResize    = true;
            CanMove      = true;
            Location     = new PointF();
            Size         = new SizeF();
            OutlineColor = Color.Black;
            OutlineWidth = 1F;
            FillColor    = Color.Transparent;
        }