This documentation is archived and is not being maintained.
This documentation is archived and is not being maintained.
edgeMode property
Determines how to extend the input image as necessary with color values so that the matrix operations can be applied when the kernel is positioned at or near the edge of the input image.
This property is read-only.
Syntax
JavaScript
enumValue = object.edgeMode
Property values
Type: SVGAnimatedEnumeration
One of the following three values:
Value
Condition
duplicate
duplicate
Indicates that the input image is extended along each of its borders as necessary by duplicating the color values at the given edge of the input image:
One of three values that determines how to extend the input image as necessary with color values so that the matrix operations can be applied when the kernel is positioned at or near the edge of the input image.
If attribute edgeMode is not specified, then the effect is as if a value of duplicate were specified.