Exemplo n.º 1
0
        public D2DRadialGradientBrush CreateRadialGradientBrush(D2DPoint origin, D2DPoint offset,
                                                                FLOAT radiusX, FLOAT radiusY,
                                                                D2DGradientStop[] gradientStops)
        {
            HANDLE handle = D2D.CreateRadialGradientBrush(this.Handle, origin, offset, radiusX, radiusY,
                                                          gradientStops, (uint)gradientStops.Length);

            return(new D2DRadialGradientBrush(handle, gradientStops));
        }