Class: RadialBlurFilter

RadialBlurFilter

The RadialBlurFilter applies a Motion blur to an object.
originalfilter

new RadialBlurFilter (options)

Name Type Attributes Description
options RadialBlurFilterOptions <optional>

Options for the RadialBlurFilter constructor.

Extends

  • Filter

Members

DEFAULT_OPTIONS RadialBlurFilterOptions staticreadonly

Default values for options.

angle number

Sets the angle in degrees of the motion for blur effect.

Default Value:
  • 0

center PointData

The x and y offset coordinates to change the position of the center of the circle of effect. This should be a size 2 array or an object containing x and y values, you cannot change types once defined in the constructor

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

centerX number

Sets the velocity of the motion for blur effect on the x axis

Default Value:
  • 0

centerY number

Sets the velocity of the motion for blur effect on the x axis

Default Value:
  • 0

kernelSize number

The kernelSize of the blur filter. Must be odd number >= 3

Default Value:
  • 5

radius number

The maximum size of the blur radius, less than 0 equates to infinity

Default Value:
  • -1