mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 21:40:21 +00:00
pixi.js - Fix "hex2string" bug
This commit is contained in:
@@ -274,7 +274,7 @@ namespace basics {
|
||||
|
||||
// draw a circle, set the lineStyle to zero so the circle doesn't have an outline
|
||||
this.graphics.lineStyle(0);
|
||||
this.graphics.beginFill(0xFFFF0B, 0.5);
|
||||
this.graphics.beginFill(PIXI.utils.hex2string(0xFFFF0B), 0.5);
|
||||
this.graphics.drawCircle(470, 90, 60);
|
||||
this.graphics.endFill();
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1103,7 +1103,7 @@ declare namespace PIXI {
|
||||
|
||||
static uuid(): number;
|
||||
static hex2rgb(hex: number, out?: number[]): number[];
|
||||
static hex2String(hex: number): string;
|
||||
static hex2string(hex: number): string;
|
||||
static rgb2hex(rgb: Number[]): number;
|
||||
static canUseNewCanvasBlendModel(): boolean;
|
||||
static getNextPowerOfTwo(number: number): number;
|
||||
|
||||
Reference in New Issue
Block a user