ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX Namespace / ColorF Structure / SmoothStepRef Method
The cubic interpolation of the two colors.
Start color.
End color.
Value between 0 and 1 indicating the weight of end.

In This Topic
    SmoothStepRef Method
    In This Topic
    Performs a cubic interpolation between two colors.
    Syntax
    'Declaration
     
    Public Shared Sub SmoothStepRef( _
       ByRef result As ColorF, _
       ByRef start As ColorF, _
       ByRef end As ColorF, _
       ByVal amount As System.Single _
    ) 
    public static void SmoothStepRef( 
       out ColorF result,
       ref ColorF start,
       ref ColorF end,
       System.float amount
    )

    Parameters

    result
    The cubic interpolation of the two colors.
    start
    Start color.
    end
    End color.
    amount
    Value between 0 and 1 indicating the weight of end.
    See Also