Class: ZoomBlurFilter

ZoomBlurFilter

The ZoomFilter applies a Zoom blur to an object.
originalfilter

new ZoomBlurFilter (options)

Name Type Attributes Default Description
options object <optional>

Filter options to use.

options.strength number <optional>
0.1

Sets the strength of the zoom blur effect

options.center PIXI.Point | number<Array> <optional>
[0,0]

The center of the zoom.

options.innerRadius number <optional>
0

The inner radius of zoom. The part in inner circle won't apply zoom blur effect.

options.radius number <optional>
-1

See radius property.

options.maxKernelSize number <optional>
32

On older iOS devices, it's better to not go above 13.0. Decreasing this value will produce a lower-quality blur effect with more dithering.

See:

Extends

  • PIXI.Filter

Members

ZoomBlurFilter.defaults ZoomBlurFilterOptions staticreadonly

Default constructor options.

center PIXI.Point | number<Array>

Center of the effect.

Default Value:
  • [0, 0]

innerRadius number

Radius of the inner region not effected by blur.

Default Value:
  • 0

radius number

Outer radius of the effect. The default value is -1. < 0.0 means it's infinity.

Default Value:
  • -1

strength number

Intensity of the zoom effect.

Default Value:
  • 0.1