Scalable Vector Graphics (SVG) Question:

Download Job Interview Questions and Answers PDF

What are filters in SVG?

SVG Interview Question
SVG Interview Question

Answer:

★ Filters in SVG are used to add special effects to shapes, images and text.
★ There are several parameters in SVG filters.
★ Certain filters are used for drawing objects.
★ Filter Tools allow Javascript / PHP to choose pictures on local disk and modify the images.
★ Certain filters are feColorMatrix, feComponentTransfer,feComposite,feGaussianBlur etc.
★ The filter primitives feSpecularLIghting and feDiffuseLighting are used with feComposite for creating lighted drawing.
★ The filter primitives feImage, feFlood and feOffset are used for creating input for other filters.
★ To create cloud patterns, feTurbulence with feColorMatrix is used.
★ The filters feGaussianBlur, feOffset, feSpecularLIghting and feComposite are used for creating 3D light effect.

Download SVG Interview Questions And Answers PDF

Previous QuestionNext Question
How to create a circle with the use of <circle> tag?What are Gradients in SVG?