Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

polygon

Description

The polygon element for SVG 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>

circle

ellipse

line

polyline

rect

World Wide Web Consortium (W3C)

HomeMenu