Constructors
constructor
- new ColorHSV(h?: number, s?: number, v?: number, a?: number): ColorHSV
-
Parameters
-
h: number = 1
-
s: number = 1
-
v: number = 1
-
a: number = 1
Methods
interpolateLinearWith
- interpolateLinearWith(b: ColorHSV, t: number): void
-
Returns void
interpolateWith
- interpolateWith(b: ColorHSV, t: number, interpolator: ((a: number, b: number, t: number) => number)): void
-
Parameters
-
-
t: number
-
interpolator: ((a: number, b: number, t: number) => number)
-
- (a: number, b: number, t: number): number
-
Parameters
-
a: number
-
b: number
-
t: number
Returns number
Returns void