コード例 #1
0
        public void Resize(PointF point, Shape rs)
        {
            for (int i = ShapeList.Count - 1; i >= 0; i--)
            {
                Shape      shape     = ShapeList[i];
                RectangleF rectangle = shape.Rectangle;

                var ResizePoint = shape.GetResizePoint(point);

                if (ResizePoint != null)
                {
                    this.ResizePoint = (ShapePoint)ResizePoint;
                    return;
                }
            }
        }