Class: ZoomBlurFilter

PIXI.filters~ZoomBlurFilter

The ZoomFilter applies a Zoom blur to an object.
originalfilter

new ZoomBlurFilter (options)

Name Type Description
options object optional

Filter options to use.

Name Type Default Description
strength number 0.1 optional

Sets the strength of the zoom blur effect

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

The center of the zoom.

innerRadius number 0 optional

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

radius number -1 optional

See radius property.

See:

Extends

  • PIXI.Filter

Members

center PIXI.Point | Array.<number>

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