Class: BulgePinchFilter

BulgePinchFilter

Bulges or pinches the image in a circle.
originalfilter

new BulgePinchFilter (options)

Name Type Attributes Default Description
options object <optional>

Options to use for filter.

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

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

options.radius number <optional>
100

The radius of the circle of effect.

options.strength number <optional>
1

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

See:

Extends

  • PIXI.Filter

Members

BulgePinchFilter.defaults BulgePinchFilterOptions staticreadonly

Default constructor options.

center PIXI.Point | number<Array>

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)