<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hrt1ro</author_name>
  <author_url>https://blog.hatena.ne.jp/hrt1ro/</author_url>
  <blog_title>錯綜</blog_title>
  <blog_url>https://hrt1ro.hatenablog.com/</blog_url>
  <categories>
    <anon>Swift</anon>
    <anon>iOS</anon>
  </categories>
  <description>図形を塗りつぶす。 UIColor.red.setFill() UIBezierPath(rect: CGRect(x: 80, y: 80, width: 100, height: 100)).fill() 重ねて描く。 UIColor.blue.setFill() UIBezierPath(rect: CGRect(x: 100, y: 100, width: 100, height: 100)).fill() ここから半透明で図形を描く。 まず現在の描画文脈 CGContext インスタンスを得る。 let context = UIGraphicsGetCurrentContext()!…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhrt1ro.hatenablog.com%2Fentry%2F2018%2F10%2F09%2F112511&quot; title=&quot;Core Graphics で半透明図形を描く - 錯綜&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/h/hrt1ro/20181009/20181009112424.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-10-09 11:25:11</published>
  <title>Core Graphics で半透明図形を描く</title>
  <type>rich</type>
  <url>https://hrt1ro.hatenablog.com/entry/2018/10/09/112511</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
