<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shiroyuki2020</author_name>
  <author_url>https://blog.hatena.ne.jp/shiroyuki2020/</author_url>
  <blog_title>プログラミングとウェブデザインの勉強メモ</blog_title>
  <blog_url>https://shiroyuki2020.hatenablog.com/</blog_url>
  <categories>
    <anon>SVG</anon>
  </categories>
  <description>SVGのクリッピングについて書きます。クリッピングは、切り抜きのことです。要素の一部分を切り抜きます。切り抜かれた部分は表示され、その他の部分は表示されません。切り抜く形は、色々と指定できます。 クリッピングパスの定義 クリッピングパスの適用 コード デモ まとめ クリッピングパスの定義 切り抜く形を定義します。ここでは、楕円形(ellipse)にします。 &lt;clipPath id=&quot;ellipseclip&quot;&gt; &lt;ellipse cx=&quot;0&quot; cy=&quot;0&quot; rx=&quot;150&quot; ry=&quot;150&quot; style=&quot;fill: #ffffff&quot;/&gt; &lt;/clipPath&gt; クリッピングパスの適用 切り抜…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshiroyuki2020.hatenablog.com%2Fentry%2Fintroduction_to_svg_24&quot; title=&quot;SVG|クリッピング - プログラミングとウェブデザインの勉強メモ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-07-04 19:00:00</published>
  <title>SVG|クリッピング</title>
  <type>rich</type>
  <url>https://shiroyuki2020.hatenablog.com/entry/introduction_to_svg_24</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
