@pixi/graphics
Advanced tools
Comparing version 7.0.4 to 7.0.5
@@ -372,3 +372,6 @@ import { Point, Polygon, Matrix, BLEND_MODES, Texture, Shader } from '@pixi/core'; | ||
protected _resolveDirectShader(renderer: Renderer): Shader; | ||
/** Retrieves the bounds of the graphic shape as a rectangle object. */ | ||
/** | ||
* Retrieves the bounds of the graphic shape as a rectangle object. | ||
* @see PIXI.GraphicsGeometry#bounds | ||
*/ | ||
protected _calculateBounds(): void; | ||
@@ -375,0 +378,0 @@ /** |
@@ -18,7 +18,3 @@ import { BatchPart } from './utils'; | ||
export declare class GraphicsGeometry extends BatchGeometry { | ||
/** | ||
* The maximum number of points to consider an object "batchable", | ||
* able to be batched by the renderer's batch system. | ||
\ | ||
*/ | ||
/** The maximum number of points to consider an object "batchable", able to be batched by the renderer's batch system. */ | ||
static BATCHABLE_SIZE: number; | ||
@@ -75,2 +71,7 @@ /** Minimal distance between points that are considered different. Affects line tesselation. */ | ||
* Get the current bounds of the graphic geometry. | ||
* | ||
* Since 6.5.0, bounds of the graphics geometry are calculated based on the vertices of generated geometry. | ||
* Since shapes or strokes with full transparency (`alpha: 0`) will not generate geometry, they are not considered | ||
* when calculating bounds for the graphics geometry. See PR [#8343]{@link https://github.com/pixijs/pixijs/pull/8343} | ||
* and issue [#8623]{@link https://github.com/pixijs/pixijs/pull/8623}. | ||
* @readonly | ||
@@ -77,0 +78,0 @@ */ |
{ | ||
"name": "@pixi/graphics", | ||
"version": "7.0.4", | ||
"version": "7.0.5", | ||
"main": "lib/index.js", | ||
@@ -25,7 +25,7 @@ "module": "lib/index.mjs", | ||
"homepage": "http://pixijs.com/", | ||
"bugs": "https://github.com/pixijs/pixi.js/issues", | ||
"bugs": "https://github.com/pixijs/pixijs/issues", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/pixijs/pixi.js.git" | ||
"url": "https://github.com/pixijs/pixijs.git" | ||
}, | ||
@@ -44,3 +44,3 @@ "publishConfig": { | ||
], | ||
"gitHead": "1d0f4da7abd7238a440f78b3661e40ced1a27614" | ||
"gitHead": "8a89713515f9dbe298484120429202534ac1f9f7" | ||
} |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
570865
4809