MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

edgeMode

我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。

« SVG Attribute reference home

The edgeMode attribute 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.

Usage context

Categories None
Value duplicate | wrap | none
Animatable Yes
Normative document SVG 1.1 (2nd Edition)
duplicate
It 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.
wrap
It indicates that the input image is extended by taking the color values from the opposite edge of the image.
none
It indicates that the input image is extended with pixel values of zero for R, G, B and A.

Example

Elements

The following elements can use the edgeMode attribute

文件標籤與貢獻者

 此頁面的貢獻者: Jeremie
 最近更新: Jeremie,