private void SetClipMask(MagickImage image, int x0, int y0, int x1, int y1)
            {
                var drawables = new Drawables();

                var paths = drawables.Paths()
                            .MoveToAbs(x0, y0)
                            .LineToAbs(x1, y0)
                            .LineToAbs(x1, y1)
                            .LineToAbs(x0, y1)
                            .LineToAbs(x0, y0);

                var pathId = nameof(SetClipMask);

                drawables
                .PushClipPath(pathId)
                .Path(paths)
                .PopClipPath()
                .ClipPath(pathId)
                .Draw(image);
            }