Class: BulgePinchFilter

PIXI.filters~BulgePinchFilter

Bulges or pinches the image in a circle.
originalfilter

new BulgePinchFilter (options)

Name Type Description
options object optional

Options to use for filter.

Name Type Default Description
center PIXI.Point | Array.<number> [0,0] optional

The x and y coordinates of the center of the circle of effect.

radius number 100 optional

The radius of the circle of effect.

strength number 1 optional

1 to 1 (-1 is strong pinch, 0 is no effect, 1 is strong bulge)

See:

Extends

  • PIXI.Filter

Members

center PIXI.Point

The x and y coordinates of the center of the circle of effect.

radius number

The radius of the circle of effect.

strength number

The strength of the effect. -1 to 1 (-1 is strong pinch, 0 is no effect, 1 is strong bulge)