public static void FillGeometry(this ID2D1DeviceContext context, ID2D1Geometry geometry, ID2D1Brush brush, ID2D1Brush opacityBrush = null)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            if (geometry == null)
            {
                throw new ArgumentNullException(nameof(geometry));
            }

            if (brush == null)
            {
                throw new ArgumentNullException(nameof(brush));
            }

            context.FillGeometry(geometry, brush, opacityBrush);
        }