예제 #1
0
        private void ProcessStickyShape(Shape shape)
        {
            for (var i = 1; i <= _storage.GetMaxIndex(); i++)
            {
                var s = _storage.GetItem(i);
                if (s == shape)
                {
                    continue;
                }

                if (s.Intersect(shape))
                {
                    shape.AddShapeChangeObserver(s);
                }
            }
        }