public void AddRange([NotNull]List<Layer> newLayers)
        {
            BoundingRectangle boundRect = new BoundingRectangle();

            foreach (Layer layer in newLayers)
            {
                if (InsertionPolicy == InsertionPolicy.BringToFront) ApplyModifier("BringToFront", layer);
                activeLayers.Add(layer);

                boundRect.EnlargeToFit(layer.Region);
            }

            //_layerListChangedCallback();

            UpdateFrame(activeLayers, RenderingPolicy.MinimalUpdatePolicy(boundRect.Region));
        }
        public void RemoveAll()
        {
            BoundingRectangle boundRect = new BoundingRectangle();

            foreach (Layer layer in activeLayers)
            {
                boundRect.EnlargeToFit(layer.Region);
                layer.Dispose();
            }
            activeLayers.Clear();
            //_layerListChangedCallback();

            UpdateFrame(activeLayers, RenderingPolicy.MinimalUpdatePolicy(boundRect.Region));
        }