»
(060)SVG画线样式定义
SVG的画线样式定义、画线样式的用法为:
<svg width="100%" height="100%" version="1.1"
xmlns="http://www.w3.org/2000/svg">
<path d="M 50 50 L 170 70 L 260 60"
stroke-dashoffset="-5" stroke-dasharray="29,23"
stroke="Red" stroke-width="4" fill="none" />
<path d="M 50 50 L 170 70 L 260 60"
stroke="Black" fill="none" />
<path d="M 50 50 L 170 70" stroke-width="10"
stroke="Green" opacity="0.3" />
</svg>
画线效果为:
————www.v-signon.com学习者共勉