SVG <polygon>

<polygon> ±êÇ©ÓÃÀ´´´½¨º¬Óв»ÉÙÓÚÈý¸ö±ßµÄͼÐΡ£

<polygon> ±êÇ©

<polygon> ±êÇ©ÓÃÀ´´´½¨º¬Óв»ÉÙÓÚÈý¸ö±ßµÄͼÐΡ£

Çë°ÑÏÂÃæµÄ´úÂ뿽±´µ½¼Çʱ¾£¬È»ºó°ÑÎļþ±£´æÎª "polygon1.svg"¡£°Ñ´ËÎļþ·ÅÈëÄúµÄ web Ŀ¼£º

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

<svg width="100%" height="100%" version="1.1"
xmlns="http://www.w3.org/2000/svg">

<polygon points="220,100 300,210 170,250"
style="fill:#cccccc;
stroke:#000000;stroke-width:1"/>

</svg>

´úÂë½âÊÍ£º

points ÊôÐÔ¶¨Òå¶à±ßÐÎÿ¸ö½ÇµÄ x ºÍ y ×ø±ê

²é¿´Àý×Ó

ÏÂÃæµÄÀý×Ó´´½¨Ò»¸öËıßÐΣº

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

<svg width="100%" height="100%" version="1.1"
xmlns="http://www.w3.org/2000/svg">

<polygon points="220,100 300,210 170,250 123,234"
style="fill:#cccccc;
stroke:#000000;stroke-width:1"/>

</svg>

²é¿´Àý×Ó

VUE