Пример #1
0
        public void CreateEllipseRegion(Model model1)
        {
            Region region = Region.CreateEllipse(60, 30);

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