Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++
|
[TCheckBoxFormControlObj]C#
[TCheckBoxFormControlObj]Visual Basic
[TCheckBoxFormControlObj]
|
::
..LerpColor Method (Color, Color, Single)
|
|
Returns the linearly interpolated Color between Color 1 and Color 2
Namespace: DPSF
Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0
Syntax
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
See Also
DPSFHelper Class
DPSFHelper Members
LerpColor Overload
DPSF Namespace
Send comments on this topic to
|