Skip to content

DesaturateFilterProperties

Type interface

Defines additional properties relative to the "Desaturate" filter

Sources

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

Inheritance

DesaturateFilterProperties extends FilterProperties.

DesaturateFilterProperties is not extended by any other symbol.

Properties

saturation

Type number

Saturation. (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.