Blur
Typeobject
Backlinks1Define a blur style of an object.
Property | Type | Required |
---|---|---|
class | string | Required |
type | BlurType | Required |
isEnabled | boolean | Required |
radius | number | Required |
motionAngle | number | Optional |
center | Point | Optional |
saturation | number | Optional |
motionAngle​
OptionalDescription
The angle of the blur direction applies only to the motion
blur.
Default value is 0
.
Type
number
center​
OptionalDescription
The center of the blur applies only to the zoom
blur.
A relative coordinate according to the bounds
, where (0, 0)
represents the top-left corner of the bounds
, and (1, -1)
represents the bottom-right corner of the bounds
.
Default value is (0.5, -0.5)
.
Type
saturation​
OptionalDescription
The saturation level of the blur applies only to the background
blur.
Default value is 1
.
Type
number