mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Merge pull request #2641 from calvindavis/dev
Fixed optional alpha parameter in interpolateColor.
This commit is contained in:
commit
b2c0b3d014
1 changed files with 1 additions and 1 deletions
2
typescript/phaser.d.ts
vendored
2
typescript/phaser.d.ts
vendored
|
@ -755,7 +755,7 @@ declare module Phaser {
|
||||||
static HSVtoRGB(h: number, s: number, v: number, out?: ColorComponents): ColorComponents;
|
static HSVtoRGB(h: number, s: number, v: number, out?: ColorComponents): ColorComponents;
|
||||||
static HSVColorWheel(s?: number, v?: number): ColorComponents[];
|
static HSVColorWheel(s?: number, v?: number): ColorComponents[];
|
||||||
static hueToColor(p: number, q: number, t: number): number;
|
static hueToColor(p: number, q: number, t: number): number;
|
||||||
static interpolateColor(color1: number, color2: number, steps: number, currentStep: number, alpha: number): number;
|
static interpolateColor(color1: number, color2: number, steps: number, currentStep: number, alpha?: number): number;
|
||||||
static interpolateColorWithRGB(color: number, r: number, g: number, b: number, steps: number, currentStep: number): number;
|
static interpolateColorWithRGB(color: number, r: number, g: number, b: number, steps: number, currentStep: number): number;
|
||||||
static interpolateRGB(r1: number, g1: number, b1: number, r2: number, g2: number, b2: number, steps: number, currentStep: number): number;
|
static interpolateRGB(r1: number, g1: number, b1: number, r2: number, g2: number, b2: number, steps: number, currentStep: number): number;
|
||||||
static packPixel(r: number, g: number, b: number, a: number): number;
|
static packPixel(r: number, g: number, b: number, a: number): number;
|
||||||
|
|
Loading…
Reference in a new issue