@pixi/graphics-extras
Advanced tools
Comparing version 6.3.2 to 6.4.0
/*! | ||
* @pixi/graphics-extras - v6.3.2 | ||
* Compiled Wed, 04 May 2022 17:49:13 UTC | ||
* @pixi/graphics-extras - v6.4.0 | ||
* Compiled Wed, 01 Jun 2022 21:14:23 UTC | ||
* | ||
@@ -16,4 +16,4 @@ * @pixi/graphics-extras is licensed under the MIT License. | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawTorus | ||
* @param this | ||
* @param {number} x - X position | ||
@@ -25,3 +25,3 @@ * @param {number} y - Y position | ||
* @param {number} [endArc=Math.PI*2] - Where to end sweep, in radians | ||
* @return {PIXI.Graphics} | ||
* @returns {PIXI.Graphics} This Graphics object. Good for chaining method calls | ||
*/ | ||
@@ -50,4 +50,4 @@ function drawTorus(x, y, innerRadius, outerRadius, startArc, endArc) { | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawChamferRect | ||
* @param this | ||
* @param {number} x - Upper left corner of rect | ||
@@ -58,3 +58,3 @@ * @param {number} y - Upper right corner of rect | ||
* @param {number} chamfer - non-zero real number, size of corner cutout | ||
* @return {PIXI.Graphics} Returns self. | ||
* @returns {PIXI.Graphics} Returns self. | ||
*/ | ||
@@ -91,4 +91,4 @@ function drawChamferRect(x, y, width, height, chamfer) { | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawFilletRect | ||
* @param this | ||
* @param {number} x - Upper left corner of rect | ||
@@ -99,3 +99,3 @@ * @param {number} y - Upper right corner of rect | ||
* @param {number} fillet - accept negative or positive values | ||
* @return {PIXI.Graphics} Returns self. | ||
* @returns {PIXI.Graphics} Returns self. | ||
*/ | ||
@@ -128,4 +128,4 @@ function drawFilletRect(x, y, width, height, fillet) { | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawRegularPolygon | ||
* @param this | ||
* @param {number} x - X position | ||
@@ -136,3 +136,3 @@ * @param {number} y - Y position | ||
* @param {number} rotation - Starting rotation values in radians.. | ||
* @return {PIXI.Graphics} | ||
* @returns {PIXI.Graphics} This Graphics object. Good for chaining method calls | ||
*/ | ||
@@ -156,4 +156,4 @@ function drawRegularPolygon(x, y, radius, sides, rotation) { | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawRoundedPolygon | ||
* @param this | ||
* @param {number} x - X position | ||
@@ -165,3 +165,3 @@ * @param {number} y - Y position | ||
* @param {number} rotation - Starting rotation values in radians.. | ||
* @return {PIXI.Graphics} | ||
* @returns {PIXI.Graphics} This Graphics object. Good for chaining method calls | ||
*/ | ||
@@ -393,3 +393,2 @@ function drawRoundedPolygon(x, y, radius, sides, corner, rotation) { | ||
* Draw a star shape with an arbitrary number of points. | ||
* | ||
* @ignore | ||
@@ -429,4 +428,4 @@ */ | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawStar | ||
* @param this | ||
* @param x - Center X position of the star | ||
@@ -438,3 +437,3 @@ * @param y - Center Y position of the star | ||
* @param rotation - The rotation of the star in radians, where 0 is vertical | ||
* @return - This Graphics object. Good for chaining method calls | ||
* @returns - This Graphics object. Good for chaining method calls | ||
*/ | ||
@@ -441,0 +440,0 @@ function drawStar(x, y, points, radius, innerRadius, rotation) { |
/*! | ||
* @pixi/graphics-extras - v6.3.2 | ||
* Compiled Wed, 04 May 2022 17:49:13 UTC | ||
* @pixi/graphics-extras - v6.4.0 | ||
* Compiled Wed, 01 Jun 2022 21:14:23 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * @pixi/graphics-extras is licensed under the MIT License. |
/*! | ||
* @pixi/graphics-extras - v6.3.2 | ||
* Compiled Wed, 04 May 2022 17:49:13 UTC | ||
* @pixi/graphics-extras - v6.4.0 | ||
* Compiled Wed, 01 Jun 2022 21:14:23 UTC | ||
* | ||
@@ -17,4 +17,4 @@ * @pixi/graphics-extras is licensed under the MIT License. | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawTorus | ||
* @param this | ||
* @param {number} x - X position | ||
@@ -26,3 +26,3 @@ * @param {number} y - Y position | ||
* @param {number} [endArc=Math.PI*2] - Where to end sweep, in radians | ||
* @return {PIXI.Graphics} | ||
* @returns {PIXI.Graphics} This Graphics object. Good for chaining method calls | ||
*/ | ||
@@ -51,4 +51,4 @@ function drawTorus(x, y, innerRadius, outerRadius, startArc, endArc) { | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawChamferRect | ||
* @param this | ||
* @param {number} x - Upper left corner of rect | ||
@@ -59,3 +59,3 @@ * @param {number} y - Upper right corner of rect | ||
* @param {number} chamfer - non-zero real number, size of corner cutout | ||
* @return {PIXI.Graphics} Returns self. | ||
* @returns {PIXI.Graphics} Returns self. | ||
*/ | ||
@@ -92,4 +92,4 @@ function drawChamferRect(x, y, width, height, chamfer) { | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawFilletRect | ||
* @param this | ||
* @param {number} x - Upper left corner of rect | ||
@@ -100,3 +100,3 @@ * @param {number} y - Upper right corner of rect | ||
* @param {number} fillet - accept negative or positive values | ||
* @return {PIXI.Graphics} Returns self. | ||
* @returns {PIXI.Graphics} Returns self. | ||
*/ | ||
@@ -129,4 +129,4 @@ function drawFilletRect(x, y, width, height, fillet) { | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawRegularPolygon | ||
* @param this | ||
* @param {number} x - X position | ||
@@ -137,3 +137,3 @@ * @param {number} y - Y position | ||
* @param {number} rotation - Starting rotation values in radians.. | ||
* @return {PIXI.Graphics} | ||
* @returns {PIXI.Graphics} This Graphics object. Good for chaining method calls | ||
*/ | ||
@@ -157,4 +157,4 @@ function drawRegularPolygon(x, y, radius, sides, rotation) { | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawRoundedPolygon | ||
* @param this | ||
* @param {number} x - X position | ||
@@ -166,3 +166,3 @@ * @param {number} y - Y position | ||
* @param {number} rotation - Starting rotation values in radians.. | ||
* @return {PIXI.Graphics} | ||
* @returns {PIXI.Graphics} This Graphics object. Good for chaining method calls | ||
*/ | ||
@@ -232,3 +232,2 @@ function drawRoundedPolygon(x, y, radius, sides, corner, rotation) { | ||
* Draw a star shape with an arbitrary number of points. | ||
* | ||
* @ignore | ||
@@ -268,4 +267,4 @@ */ | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawStar | ||
* @param this | ||
* @param x - Center X position of the star | ||
@@ -277,3 +276,3 @@ * @param y - Center Y position of the star | ||
* @param rotation - The rotation of the star in radians, where 0 is vertical | ||
* @return - This Graphics object. Good for chaining method calls | ||
* @returns - This Graphics object. Good for chaining method calls | ||
*/ | ||
@@ -280,0 +279,0 @@ function drawStar(x, y, points, radius, innerRadius, rotation) { |
/*! | ||
* @pixi/graphics-extras - v6.3.2 | ||
* Compiled Wed, 04 May 2022 17:49:13 UTC | ||
* @pixi/graphics-extras - v6.4.0 | ||
* Compiled Wed, 01 Jun 2022 21:14:23 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * @pixi/graphics-extras is licensed under the MIT License. |
/*! | ||
* @pixi/graphics-extras - v6.3.2 | ||
* Compiled Wed, 04 May 2022 17:49:13 UTC | ||
* @pixi/graphics-extras - v6.4.0 | ||
* Compiled Wed, 01 Jun 2022 21:14:23 UTC | ||
* | ||
@@ -15,4 +15,4 @@ * @pixi/graphics-extras is licensed under the MIT License. | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawTorus | ||
* @param this | ||
* @param {number} x - X position | ||
@@ -24,3 +24,3 @@ * @param {number} y - Y position | ||
* @param {number} [endArc=Math.PI*2] - Where to end sweep, in radians | ||
* @return {PIXI.Graphics} | ||
* @returns {PIXI.Graphics} This Graphics object. Good for chaining method calls | ||
*/ | ||
@@ -49,4 +49,4 @@ function drawTorus(x, y, innerRadius, outerRadius, startArc, endArc) { | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawChamferRect | ||
* @param this | ||
* @param {number} x - Upper left corner of rect | ||
@@ -57,3 +57,3 @@ * @param {number} y - Upper right corner of rect | ||
* @param {number} chamfer - non-zero real number, size of corner cutout | ||
* @return {PIXI.Graphics} Returns self. | ||
* @returns {PIXI.Graphics} Returns self. | ||
*/ | ||
@@ -90,4 +90,4 @@ function drawChamferRect(x, y, width, height, chamfer) { | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawFilletRect | ||
* @param this | ||
* @param {number} x - Upper left corner of rect | ||
@@ -98,3 +98,3 @@ * @param {number} y - Upper right corner of rect | ||
* @param {number} fillet - accept negative or positive values | ||
* @return {PIXI.Graphics} Returns self. | ||
* @returns {PIXI.Graphics} Returns self. | ||
*/ | ||
@@ -127,4 +127,4 @@ function drawFilletRect(x, y, width, height, fillet) { | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawRegularPolygon | ||
* @param this | ||
* @param {number} x - X position | ||
@@ -135,3 +135,3 @@ * @param {number} y - Y position | ||
* @param {number} rotation - Starting rotation values in radians.. | ||
* @return {PIXI.Graphics} | ||
* @returns {PIXI.Graphics} This Graphics object. Good for chaining method calls | ||
*/ | ||
@@ -155,4 +155,4 @@ function drawRegularPolygon(x, y, radius, sides, rotation) { | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawRoundedPolygon | ||
* @param this | ||
* @param {number} x - X position | ||
@@ -164,3 +164,3 @@ * @param {number} y - Y position | ||
* @param {number} rotation - Starting rotation values in radians.. | ||
* @return {PIXI.Graphics} | ||
* @returns {PIXI.Graphics} This Graphics object. Good for chaining method calls | ||
*/ | ||
@@ -230,3 +230,2 @@ function drawRoundedPolygon(x, y, radius, sides, corner, rotation) { | ||
* Draw a star shape with an arbitrary number of points. | ||
* | ||
* @ignore | ||
@@ -266,4 +265,4 @@ */ | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawStar | ||
* @param this | ||
* @param x - Center X position of the star | ||
@@ -275,3 +274,3 @@ * @param y - Center Y position of the star | ||
* @param rotation - The rotation of the star in radians, where 0 is vertical | ||
* @return - This Graphics object. Good for chaining method calls | ||
* @returns - This Graphics object. Good for chaining method calls | ||
*/ | ||
@@ -278,0 +277,0 @@ function drawStar(x, y, points, radius, innerRadius, rotation) { |
/*! | ||
* @pixi/graphics-extras - v6.3.2 | ||
* Compiled Wed, 04 May 2022 17:49:13 UTC | ||
* @pixi/graphics-extras - v6.4.0 | ||
* Compiled Wed, 01 Jun 2022 21:14:23 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * @pixi/graphics-extras is licensed under the MIT License. |
@@ -9,4 +9,4 @@ /// <reference path="./global.d.ts" /> | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawChamferRect | ||
* @param this | ||
* @param {number} x - Upper left corner of rect | ||
@@ -17,3 +17,3 @@ * @param {number} y - Upper right corner of rect | ||
* @param {number} chamfer - non-zero real number, size of corner cutout | ||
* @return {PIXI.Graphics} Returns self. | ||
* @returns {PIXI.Graphics} Returns self. | ||
*/ | ||
@@ -27,4 +27,4 @@ declare function drawChamferRect(this: Graphics, x: number, y: number, width: number, height: number, chamfer: number): Graphics; | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawFilletRect | ||
* @param this | ||
* @param {number} x - Upper left corner of rect | ||
@@ -35,3 +35,3 @@ * @param {number} y - Upper right corner of rect | ||
* @param {number} fillet - accept negative or positive values | ||
* @return {PIXI.Graphics} Returns self. | ||
* @returns {PIXI.Graphics} Returns self. | ||
*/ | ||
@@ -44,4 +44,4 @@ declare function drawFilletRect(this: Graphics, x: number, y: number, width: number, height: number, fillet: number): Graphics; | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawRegularPolygon | ||
* @param this | ||
* @param {number} x - X position | ||
@@ -52,3 +52,3 @@ * @param {number} y - Y position | ||
* @param {number} rotation - Starting rotation values in radians.. | ||
* @return {PIXI.Graphics} | ||
* @returns {PIXI.Graphics} This Graphics object. Good for chaining method calls | ||
*/ | ||
@@ -61,4 +61,4 @@ declare function drawRegularPolygon(this: Graphics, x: number, y: number, radius: number, sides: number, rotation?: number): Graphics; | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawRoundedPolygon | ||
* @param this | ||
* @param {number} x - X position | ||
@@ -70,3 +70,3 @@ * @param {number} y - Y position | ||
* @param {number} rotation - Starting rotation values in radians.. | ||
* @return {PIXI.Graphics} | ||
* @returns {PIXI.Graphics} This Graphics object. Good for chaining method calls | ||
*/ | ||
@@ -79,4 +79,4 @@ declare function drawRoundedPolygon(this: Graphics, x: number, y: number, radius: number, sides: number, corner: number, rotation?: number): Graphics; | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawStar | ||
* @param this | ||
* @param x - Center X position of the star | ||
@@ -88,3 +88,3 @@ * @param y - Center Y position of the star | ||
* @param rotation - The rotation of the star in radians, where 0 is vertical | ||
* @return - This Graphics object. Good for chaining method calls | ||
* @returns - This Graphics object. Good for chaining method calls | ||
*/ | ||
@@ -97,4 +97,4 @@ declare function drawStar(this: Graphics, x: number, y: number, points: number, radius: number, innerRadius: number, rotation?: number): Graphics; | ||
* _Note: Only available with **@pixi/graphics-extras**._ | ||
* | ||
* @method PIXI.Graphics#drawTorus | ||
* @param this | ||
* @param {number} x - X position | ||
@@ -106,3 +106,3 @@ * @param {number} y - Y position | ||
* @param {number} [endArc=Math.PI*2] - Where to end sweep, in radians | ||
* @return {PIXI.Graphics} | ||
* @returns {PIXI.Graphics} This Graphics object. Good for chaining method calls | ||
*/ | ||
@@ -109,0 +109,0 @@ declare function drawTorus(this: Graphics, x: number, y: number, innerRadius: number, outerRadius: number, startArc?: number, endArc?: number): Graphics; |
{ | ||
"name": "@pixi/graphics-extras", | ||
"version": "6.3.2", | ||
"version": "6.4.0", | ||
"main": "dist/cjs/graphics-extras.js", | ||
"module": "dist/esm/graphics-extras.js", | ||
"bundle": "dist/browser/graphics-extras.js", | ||
"types": "index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": { | ||
"default": "./dist/cjs/graphics-extras.js", | ||
"types": "./index.d.ts" | ||
}, | ||
"require": { | ||
"default": "./dist/esm/graphics-extras.js", | ||
"types": "./index.d.ts" | ||
} | ||
} | ||
}, | ||
"bundleNoExports": true, | ||
@@ -26,6 +39,6 @@ "description": "Additional Graphics functions for drawing special shapes.", | ||
"peerDependencies": { | ||
"@pixi/graphics": "6.3.2", | ||
"@pixi/math": "6.3.2" | ||
"@pixi/graphics": "6.4.0", | ||
"@pixi/math": "6.4.0" | ||
}, | ||
"gitHead": "87031295631dcd7db3e24b99ed7ceb2c4f963a40" | ||
"gitHead": "e7eaa713b6e0eeb335e90384aec778f5c99c60d5" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
231635
1103