ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct2D Namespace / DeviceContext Class / CreateGradientStopCollection1 Method

In This Topic
    CreateGradientStopCollection1 Method
    In This Topic
    HRESULT ID2D1DeviceContext::CreateGradientStopCollection([In, Buffer] const D2D1_GRADIENT_STOP* straightAlphaGradientStops,[In] unsigned int straightAlphaGradientStopsCount,[In] D2D1_COLOR_SPACE preInterpolationSpace,[In] D2D1_COLOR_SPACE postInterpolationSpace,[In] D2D1_BUFFER_PRECISION bufferPrecision,[In] D2D1_EXTEND_MODE extendMode,[In] D2D1_COLOR_INTERPOLATION_MODE colorInterpolationMode,[Out, Fast] ID2D1GradientStopCollection1** gradientStopCollection1)
    Syntax
    'Declaration
     
    Public Function CreateGradientStopCollection1( _
       ByVal straightAlphaGradientStops() As GradientStop, _
       ByVal straightAlphaGradientStopsCount As System.Integer, _
       ByVal preInterpolationSpace As ColorSpace, _
       ByVal postInterpolationSpace As ColorSpace, _
       ByVal bufferPrecision As BufferPrecision, _
       ByVal extendMode As ExtendMode, _
       ByVal colorInterpolationMode As ColorInterpolationMode _
    ) As GradientStopCollection1

    Parameters

    straightAlphaGradientStops
    straightAlphaGradientStopsCount
    preInterpolationSpace
    postInterpolationSpace
    bufferPrecision
    extendMode
    colorInterpolationMode
    See Also