![]() |
VOOZH | about |
The <clipPath> SVG element is used to define a clipping path that is to be used by the clip-path property. It works the same as clip-path in CSS. The clipPath element is used to put some restriction on a region such that anything drawn outside that region will neither be visible nor be drawn.
<clipPath> ... </clipPath>Below given are a few examples of the function given above.
Example 1:
Output:
Example 2:
Output:
Browsers Supported: The following browsers are supported by this SVG element: