Skip to content

FilterProperties

Type interface

Defines properties for a base filter

Sources

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

Inheritance

FilterProperties does not extend any other symbol.

FilterProperties is extended by DropShadowFilterProperties, DesaturateFilterProperties, LightenFilterProperties, BlurFilterProperties, ColorizeFilterProperties, FocusFilterProperties.

Properties

filterUnits

Type "userSpaceOnUse" | "objectBoundingBox"

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

height

Type numberDefault 120

Height of the filter in percent.

width

Type numberDefault 120

Width of the filter in percent.