@pixi/filter-blur
Advanced tools
Comparing version 7.1.0-alpha to 7.1.0
@@ -1,2 +0,2 @@ | ||
import { Filter, CLEAR_MODES } from '@pixi/core'; | ||
import { CLEAR_MODES, Filter } from '@pixi/core'; | ||
import { BlurFilterPass } from './BlurFilterPass'; | ||
@@ -8,3 +8,3 @@ import type { BLEND_MODES, FilterSystem, RenderTexture } from '@pixi/core'; | ||
* The strength of the blur can be set for the x-axis and y-axis separately. | ||
* @memberof PIXI.filters | ||
* @memberof PIXI | ||
*/ | ||
@@ -18,3 +18,3 @@ export declare class BlurFilter extends Filter { | ||
* @param quality - The quality of the blur filter. | ||
* @param [resolution=PIXI.settings.FILTER_RESOLUTION] - The resolution of the blur filter. | ||
* @param [resolution=Filter.defaultResolution] - The resolution of the blur filter. | ||
* @param kernelSize - The kernelSize of the blur filter.Options: 5, 7, 9, 11, 13, 15. | ||
@@ -21,0 +21,0 @@ */ |
@@ -9,3 +9,3 @@ 'use strict'; | ||
class BlurFilter extends core.Filter { | ||
constructor(strength = 8, quality = 4, resolution = core.settings.FILTER_RESOLUTION, kernelSize = 5) { | ||
constructor(strength = 8, quality = 4, resolution = core.Filter.defaultResolution, kernelSize = 5) { | ||
super(); | ||
@@ -12,0 +12,0 @@ this.blurXFilter = new BlurFilterPass.BlurFilterPass(true, strength, quality, resolution, kernelSize); |
@@ -1,6 +0,6 @@ | ||
import { Filter, CLEAR_MODES } from '@pixi/core'; | ||
import { CLEAR_MODES, Filter } from '@pixi/core'; | ||
import type { FilterSystem, RenderTexture } from '@pixi/core'; | ||
/** | ||
* The BlurFilterPass applies a horizontal or vertical Gaussian blur to an object. | ||
* @memberof PIXI.filters | ||
* @memberof PIXI | ||
*/ | ||
@@ -7,0 +7,0 @@ export declare class BlurFilterPass extends Filter { |
@@ -6,4 +6,4 @@ 'use strict'; | ||
var core = require('@pixi/core'); | ||
var generateBlurFragSource = require('./generateBlurFragSource.js'); | ||
var generateBlurVertSource = require('./generateBlurVertSource.js'); | ||
var generateBlurFragSource = require('./generateBlurFragSource.js'); | ||
@@ -10,0 +10,0 @@ class BlurFilterPass extends core.Filter { |
{ | ||
"name": "@pixi/filter-blur", | ||
"version": "7.1.0-alpha", | ||
"version": "7.1.0", | ||
"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" | ||
}, | ||
@@ -42,3 +42,3 @@ "publishConfig": { | ||
], | ||
"gitHead": "0fb26a500c738cb550da277c112d15d9dd3f87b6" | ||
"gitHead": "4079e92895ecb692afe9f0b15d3e48ee40852ada" | ||
} |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
64713