SVG:polyline
From MDC
« SVG Reference home [ Examples | Attributes | Properties | Methods | Related ]
The polyline element is an SVG basic shape, used to create a series of straight lines connecting several points.
Typically a polyline is used to create open shapes, although they can be closed, and a fill can be drawn if wanted. Points should be separated by an acceptable white-space character (see the SVG specification).
[edit] Example
<?xml version="1.0" standalone="no"?>
<svg width="120" height="120" version="1.1"
xmlns="http://www.w3.org/2000/svg">
<polyline points="0,60 20,20 40, 100, 60,40, 80,100, 100,40 120,100"
fill="red" stroke="black"/>
</svg>
[edit] Attributes
|
SVG Presentation : Fill-Stroke Attributes |
|
SVG Presentation : Graphics Attributes |
|
SVG Element Event Attributes |
|
SVG Language Space Attributes |
|
SVG Standard Attributes |
points class externalResourcesRequired style transform
[edit] Properties
[edit] Methods
[edit] Related
- Elements
- Interfaces
- External Examples