<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>swfz</author_name>
  <author_url>https://blog.hatena.ne.jp/swfz/</author_url>
  <blog_title>notebook</blog_title>
  <blog_url>https://swfz.hatenablog.com/</blog_url>
  <categories>
    <anon>React</anon>
    <anon>svg</anon>
  </categories>
  <description>よく見る「～～ジェネレータ」など いくつかフォームの値を利用して動的にSVGを生成するといったようなことをやってみたいなと思い立ったのでやってみた あまり知らなかったので学んだことをつらつら書いていく 以降Reactでインライン埋め込みしてレンダリングしているためタグの属性名にハイフンが入っている場合はキャメルケースにしている 図形を描画する SVGのタグは全然知らなかったのでとりあえず下記参考にしてpolygon使うことにした SVGの基本(使い方, 主な図形, CSSでスタイルづけ) - わくわくBank www.wakuwakubank.com 各種指定する pointsで頂点の座標 s…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fswfz.hatenablog.com%2Fentry%2F2023%2F01%2F21%2F062708&quot; title=&quot;SVGで図形を再利用する - notebook&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/swfz/20230121/20230121061429.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-01-21 06:27:08</published>
  <title>SVGで図形を再利用する</title>
  <type>rich</type>
  <url>https://swfz.hatenablog.com/entry/2023/01/21/062708</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
