ãããªä¸ãæããå³å½¢ãä½ã£ã¦æç»ããã°ç©å½¢ã®å å´ã«å½±ãã§ããã ããã å½±ãã§ããã°ãã®å³å½¢èªä½ã¯ä¸è¦ãªã®ã§ï¼ç©å½¢ã®å å´ã«ï¼ã¯ãªããã³ã°ãã¦é ãã¦ãã¾ãã°è¯ãã ã³ã¼ãã¯ãããªæãã - (void)drawRect:(CGRect)rect { CGRect frame = CGRectInset([self bounds], INSET_SIZE, INSET_SIZE); CGContextRef context = UIGraphicsGetCurrentContext(); CGContextSaveGState(context); // [1] clipping [self addRoundRectPath:context rect:frame]; CGContextClip(context); // [2] fill background in round rect [[UIC
{{#tags}}- {{label}}
{{/tags}}