Interface: ZoomBlurFilterOptions

ZoomBlurFilterOptions

Options for the ZoomBlurFilter constructor.

Properties:
Name Type Default Description
center PointData | number[] {x:0,y:0}

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

innerRadius number 0

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

maxKernelSize number 32

On older iOS devices, it's better to not go above 13.0. Decreasing this value will produce a lower-quality blur effect with more dithering

radius number -1

Outer radius of the effect. less than 0 equates to infinity

strength number 0.1

Sets the strength of the zoom blur effect

Members

center PointData | number[]

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}

innerRadius number

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

Default Value:
  • 0

maxKernelSize number

On older iOS devices, it's better to not go above 13.0. Decreasing this value will produce a lower-quality blur effect with more dithering

Default Value:
  • 32

radius number

Outer radius of the effect. less than 0 equates to infinity

Default Value:
  • -1

strength number

Sets the strength of the zoom blur effect

Default Value:
  • 0.1