Skip to main content

Blur

Typeobject
Backlinks1

Define a blur style of an object.

PropertyTypeRequired
classstringRequired
typeBlurTypeRequired
isEnabledbooleanRequired
radiusnumberRequired
motionAnglenumberOptional
centerPointOptional
saturationnumberOptional

class​

Required

Type

string

Value

constant: the value of this property must be equal to:

"blur"

type​

Required

Description

The type of blur.

isEnabled​

Required

Description

no description

Type

boolean

radius​

Required

Description

The range of the area where the blur takes effect.

Type

number

motionAngle​

Optional

Description

The angle of the blur direction applies only to the motion blur. Default value is 0.

Type

number

center​

Optional

Description

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

Point

saturation​

Optional

Description

The saturation level of the blur applies only to the background blur. Default value is 1.

Type

number