Skip to content

DropShadowFilterProperties

Type interface

Defines additional properties relative to the "Drop Shadow" filter

Sources

DropShadowFilterProperties is an interface: it describes a shape of data and is not imported on its own.

Inheritance

DropShadowFilterProperties extends FilterProperties.

DropShadowFilterProperties is not extended by any other symbol.

Properties

blur

Type number

Blur.

color

Type Color

Shadow color.

dx

Type number

Horizontal offset in pixels.

dy

Type number

Vertical offset in pixels.

opacity

Type number

Shadow opacity. (0-1)

3 inherited items
filterUnits

Type "userSpaceOnUse" | "objectBoundingBox"Inherited from FilterProperties

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/filterUnits

height

Type numberDefault 120Inherited from FilterProperties

Height of the filter in percent.

width

Type numberDefault 120Inherited from FilterProperties

Width of the filter in percent.