Interface: ShockwaveFilterOptions

ShockwaveFilterOptions

Options for the ShockwaveFilter constructor.

Properties:
Name Type Default Description
amplitude number 30

The amplitude of the shockwave

brightness number 1

The brightness of the shockwave

center PointData {x:0,y:0}

The x and y center coordinates to change the position of the center of the circle of effect.

radius number -1

The maximum radius of shockwave. less than 0 means the max is an infinite distance

speed number 500

The speed about the shockwave ripples out. The unit is pixel-per-second

time number 0

Sets the elapsed time of the shockwave.

wavelength number 160

The wavelength of the shockwave

Members

amplitude number

The amplitude of the shockwave

Default Value:
  • 30

brightness number

The brightness of the shockwave

Default Value:
  • 1

center PointData

The x and y center coordinates to change the position of the center of the circle of effect.

Default Value:
  • {x:0,y:0}

radius number

The maximum radius of shockwave. less than 0 means the max is an infinite distance

Default Value:
  • -1

speed number

The speed about the shockwave ripples out. The unit is pixel-per-second

Default Value:
  • 500

time number

Sets the elapsed time of the shockwave.

Default Value:
  • 0

wavelength number

The wavelength of the shockwave

Default Value:
  • 160