Svg-circle
提供:Dev Guides
SVG-サークル
<circle>要素は、中心点と指定された半径の円を描くために使用されます。
宣言
以下は、 <circle> 要素の構文宣言です。 主な属性のみを示しました。
属性
Sr.No. | Name & Description |
---|---|
1 | cx − x-axis co-ordinate of the center of the circle. Default is 0. |
2 | cy − y-axis co-ordinate of the center of the circle. Default is 0. |
3 | r − radius of the circle. |
例
テストVG
出力
ChromeウェブブラウザでテキストSVGを開きます。 Chrome/Firefox/Operaを使用して、プラグインなしでSVG画像を直接表示できます。 Internet Explorer 9以降もSVG画像レンダリングをサポートしています。
不透明な円
出力
ChromeウェブブラウザでテキストSVGを開きます。 Chrome/Firefox/Operaを使用して、プラグインなしでSVG画像を直接表示できます。 Internet Explorer 9以降もSVG画像レンダリングをサポートしています。