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