diff --git a/bundles/pixi.js/pixi.js.d.ts b/bundles/pixi.js/pixi.js.d.ts index 83c4075..d3b5c4b 100644 --- a/bundles/pixi.js/pixi.js.d.ts +++ b/bundles/pixi.js/pixi.js.d.ts @@ -527,9 +527,11 @@ export class GraphicsData { - constructor(lineWidth: number, lineColor: number, lineAlpha: number, fillColor: number, fillAlpha: number, fill: boolean, nativeLines: boolean, shape: Circle | Rectangle | Ellipse | Polygon | RoundedRectangle | any); + constructor(lineWidth: number, lineColor: number, lineAlpha: number, fillColor: number, fillAlpha: number, fill: boolean, nativeLines: boolean, shape: Circle | Rectangle | Ellipse | Polygon | RoundedRectangle | any, lineAlignment: number); lineWidth: number; + /** The alignment of any lines drawn (0.5 = middle, 1 = outter, 0 = inner). */ + lineAlignment: number; nativeLines: boolean; lineColor: number; lineAlpha: number; diff --git a/bundles/pixi.js/pixi.js.d.ts b/bundles/pixi.js/pixi.js.d.ts index 83c4075..d3b5c4b 100644 --- a/bundles/pixi.js/pixi.js.d.ts +++ b/bundles/pixi.js/pixi.js.d.ts @@ -527,9 +527,11 @@ export class GraphicsData { - constructor(lineWidth: number, lineColor: number, lineAlpha: number, fillColor: number, fillAlpha: number, fill: boolean, nativeLines: boolean, shape: Circle | Rectangle | Ellipse | Polygon | RoundedRectangle | any); + constructor(lineWidth: number, lineColor: number, lineAlpha: number, fillColor: number, fillAlpha: number, fill: boolean, nativeLines: boolean, shape: Circle | Rectangle | Ellipse | Polygon | RoundedRectangle | any, lineAlignment: number); lineWidth: number; + /** The alignment of any lines drawn (0.5 = middle, 1 = outter, 0 = inner). */ + lineAlignment: number; nativeLines: boolean; lineColor: number; lineAlpha: number; diff --git a/packages/graphics/src/GraphicsData.js b/packages/graphics/src/GraphicsData.js index 382074d..e1b592b 100644 --- a/packages/graphics/src/GraphicsData.js +++ b/packages/graphics/src/GraphicsData.js @@ -30,7 +30,6 @@ * The alignment of any lines drawn (0.5 = middle, 1 = outter, 0 = inner). * * @member {number} - * @default 0 */ this.lineAlignment = lineAlignment;