Properties:
Name | Type | Default | Description |
---|---|---|---|
center |
PointData | number[] |
{x:0,y:0}
|
The |
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 |
radius |
number |
-1
|
Outer radius of the effect. less than |
strength |
number |
0.1
|
Sets the strength of the zoom blur effect |
Members
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}
The inner radius of zoom. The part in inner circle won't apply zoom blur effect
- Default Value:
- 0
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
Outer radius of the effect. less than 0
equates to infinity
- Default Value:
- -1
Sets the strength of the zoom blur effect
- Default Value:
- 0.1