CALayer ã使ãã¨ç°¡åã«ãã¥ã¼ã«å½±ãè½ã¨ããã¨ãã§ããã CALayer* layer = self.imageView1.layer; layer.shadowOffset = CGSizeMake(2.5, 2.5); layer.shadowColor = [[UIColor blackColor] CGColor]; layer.shadowOpacity = 0.5; ãã ãã®æ¹æ³ã¯ãã¥ã¼ã®å¤å´ã«å½±ãè½ã¨ãã¦ãããã¥ã¼ã®å é¨ã«ã¯å½±ãè½ã¨ããªãã ã©ããããã CALayer ã®ããããã£ãçºãã¦ãã¦ãã㨠shadowPath ã«æ°ãã¤ããããã®ããããã£ã«ã¯ CGPathRef ã渡ããã¨ãã§ããã @property CGPathRef shadowPath;ããããã¦ããã使ã£ã¦ä»»æã®å ´æãå½¢ã§å½±ãè½ã¨ããªããã 試ãã«ãããªç©å½¢ã®ãã¹ãä½ã£ã¦æ¸¡ãã¦ã¿ãã CALay
{{#tags}}- {{label}}
{{/tags}}