Ejemplo n.º 1
0
        /// <summary>
        /// Moves this point by the vector given.
        /// </summary>
        /// <param name="vector">The vector.</param>
        public override void Move(C2DVector vector)
        {
            Debug.Assert(Lines.Count == LineRects.Count);

            if (Lines.Count != LineRects.Count)
            {
                return;
            }

            for (var i = 0; i < Lines.Count; i++)
            {
                Lines[i].Move(vector);
                LineRects[i].Move(vector);
            }

            BoundingRect.Move(vector);
        }