Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

lineエレメントは、線を描画します。

構文:

エレメント

属性

エレメント/属性/値に関するメモ

line






x1

整数

デフォルト値は0です。

 

y1

整数

デフォルト値は0です。

 

x2

整数

デフォルト値は0です。

 

y2

整数

デフォルト値は0です。

 

line-width

整数

デフォルト値は0です。

 

stroke-color

デフォルトはblack

<line x1="10" y1="290" x2="190" y2="290" stroke-color="blue"/>