diff --git a/src/core/graphics/Graphics.js b/src/core/graphics/Graphics.js index ac5399d..5b56f09 100644 --- a/src/core/graphics/Graphics.js +++ b/src/core/graphics/Graphics.js @@ -651,7 +651,7 @@ /** * Draws a polygon using the given path. * - * @param {number[]|PIXI.Point[]} path - The path data used to construct the polygon. + * @param {number[]|PIXI.Point[]|PIXI.Polygon} path - The path data used to construct the polygon. * @return {PIXI.Graphics} This Graphics object. Good for chaining method calls */ drawPolygon(path)