SVG <line>


SVG 線 - <line>

<line> 要素は、線を作成するために使用します:

Sorry, your browser does not support inline SVG.

SVG コードは次の通りです:

<svg height="210" width="500">
  <line x1="0" y1="0" x2="200" y2="200" style="stroke:rgb(255,0,0);stroke-width:2" />
</svg>
Try it Yourself »

コードの説明: