{"height":"190","title":"\u3010iOS\u3011\u6b63\u591a\u89d2\u5f62\u3092\u63cf\u304f - UIBezierPath\u30d0\u30fc\u30b8\u30e7\u30f32","image_url":null,"author_name":"devdevdev","blog_url":"https://devdevdev.hatenablog.com/","type":"rich","blog_title":"\u3075\u308b\u3059\u305f\u3063\u304f\u3048\u3093\u3058\u306b\u3042\u306e\u65e5\u8a18","author_url":"https://blog.hatena.ne.jp/devdevdev/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevdevdev.hatenablog.com%2Fentry%2F2014%2F10%2F08%2F193743\" title=\"\u3010iOS\u3011\u6b63\u591a\u89d2\u5f62\u3092\u63cf\u304f - UIBezierPath\u30d0\u30fc\u30b8\u30e7\u30f32 - \u3075\u308b\u3059\u305f\u3063\u304f\u3048\u3093\u3058\u306b\u3042\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","url":"https://devdevdev.hatenablog.com/entry/2014/10/08/193743","provider_url":"https://hatena.blog","published":"2014-10-08 19:37:43","description":"\u3053\u306a\u3044\u3060\u306e\u3060\u3068\u306a\u3093\u304b\u50be\u3044\u3066\u308b\u306e\u3067\u3002 - (void)drawRegularPolygon:(NSUInteger)p radius:(CGFloat)radius center:(CGPoint)center { UIBezierPath *aPath = [UIBezierPath bezierPath]; aPath.lineWidth = 1; for (NSInteger i = 0; i < p; i++) { double rad = M_PI * i * 2 / p + M_PI_2; CGPoint drawPoint = CGPointMake(center.x + radi\u2026","categories":["iOS","Objective-c"],"provider_name":"Hatena Blog","width":"100%"}