![]() |
The SVG (Scalable Vector Graphics ) Polygon the <polygon> element wrapped inside the <SVG> element is used to create a polygon. The meaning of a polygon is a shape having many angles. It must have at least three sides to make Polygon. The points of the polygon are defined with the attribute points and for giving style there are different attributes like stroke-width, stroke to define stroke color, and fill used to fill the area. Example: The example illustrates the creation of an SVG Polygon. HTML
Output: ![]()
Example 2: This is another example that illustrates the creation of an SVG Polygon. HTML
Output: ![]()
|
Reffered: https://www.geeksforgeeks.org
HTML |
Related |
---|
![]() |
![]() |
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 13 |