VOOZH about

URL: https://www.geeksforgeeks.org/html/svg-fefunca-element/

⇱ SVG <feFuncA> Element - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

SVG <feFuncA> Element

Last Updated : 23 Jul, 2025

SVG stands for Scalable Vector Graphic. It can be used to make graphics and animations like in HTML canvas. SVG has been developed by the World Wide Web Consortium (W3C) since 1999.

SVG <feFunA> Element: These elements are typically children of the feComponentTransfer element and specify the transfer function in which the alpha component (defines the transparency of the colour)  of the input graphic of its parent <feComponentTransfer> element.

Syntax:

<feComponentTransfer> 
 <feFuncA type="" tableValues=""/>
</feComponentTransfer>

Attributes: It does not have any specified attribute but it accepts Global attributes.

Example 1:The following code demonstrates the <feFuncA> element with the type "table".

Output:

👁 Image
 

Example 2: The following code demonstrates the <feFuncA> element with the type "gamma".

Output:

👁 Image
 

Example 3: The following code demonstrates the <feFuncA> element with the type "discrete" and attributes like "amplitude","exponent","offset" are set with values.

Output:

👁 Image
 
Comment
Article Tags: