Пример #1
0
        public void CreateRoundedRectangleRegion(Model model1)
        {
            Region region = Region.CreateRoundedRectangle(50, 30, 10);

            region.Color       = Color.DarkGreen;
            region.ColorMethod = colorMethodType.byEntity;
            model1.Entities.Add(region);
            model1.Invalidate();
        }