collapse_all
expand_all
collapse_allexpand_alldropdowndropdownHovercopycodecopycodeHighlight

collapse_all Collapse AllExpand All     dropdown Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]
Visual C++
DPSF API Documentation
DPSFHelper
.
.

::

..LerpColor Method (Color, Color, Single)
gradient

Returns the linearly interpolated Color between Color 1 and Color 2

Namespace: DPSF

Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0

collapse_allSyntax

C#

public static Color LerpColor(

 Color sColor1,

 Color sColor2,

 float fInterpolationAmount

)

Visual Basic

Public Shared Function LerpColor (

 sColor1 As Color,

 sColor2 As Color,

 fInterpolationAmount As Single

As Color

Visual C++

public:

static Color LerpColor(

 Color sColor1,

 Color sColor2,

 float fInterpolationAmount

)

Parameters

sColor1

Type: Color

The Color value used with InterpolationAmount 0.0

sColor2

Type: Color

The Color value used with InterpolationAmount 1.0

fInterpolationAmount

Type: System..::..Single

A value between 0.0 and 1.0 indicating how much to interpolate the RGBA values between Color 1 and Color 2

Return Value

Type: Color

Returns the interpolated Color

collapse_allSee Also

DPSFHelper Class

DPSFHelper Members

LerpColor Overload

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com