lerp MethodStatic
Interpolate between two 0xTTBBGGRR colors using a weighting factor.
lerp(tbgr1: number, tbgr2: number, weight: number): number
@returns The linear interpolation between tbgr1
and tbgr2
using the specified weight.
Returns - number
The linear interpolation between tbgr1
and tbgr2
using the specified weight.
Defined in
- core/common/src/ColorDef.ts Line 416
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.