ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX Namespace / ColorF Structure / SmoothStep Method
Start color.
End color.
Value between 0 and 1 indicating the weight of end.

In This Topic
    SmoothStep Method
    In This Topic
    Performs a cubic interpolation between two colors.
    Syntax
    'Declaration
     
    Public Shared Function SmoothStep( _
       ByVal start As ColorF, _
       ByVal end As ColorF, _
       ByVal amount As Single _
    ) As ColorF
    public static ColorF SmoothStep( 
       ColorF start,
       ColorF end,
       float amount
    )

    Parameters

    start
    Start color.
    end
    End color.
    amount
    Value between 0 and 1 indicating the weight of end.

    Return Value

    The cubic interpolation of the two colors.
    See Also