Home Menu

polygon

The polygon SVG element specifies a closed shape consisting of a set of connected straight line segments.

Syntax

Attributes

pathLength

Specifies the total length of the path in user units.

Value
<number>
Default
(none)

points

Specifies the points that make up the polyline.

Value
<points>
Default
(none)

Examples

pathLength

<number>

points

<points>

Internal

circle

ellipse

line

polyline

rect

External

World Wide Web Consortium (W3C)

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms