CGAffineTransformãããã使ãã¨å転ãæ¡å¤§ã縮å°ãå¹³è¡ç§»åãªã©ã®æä½ãè¡ããã¨ãã§ãã¾ããä»æ§ããã¤ã³ããªã©ãã¡ã¢ãã¦ããã¾ãã CGAffineTransformã®åºæ¬ ã¢ãã£ã³å¤æèªä½ã¯Cè¨èªã®æ§é ä½ã¨ãã¦å®ç¾©ããã¦ãã¾ãããã®ä¸èº«ã¯ï¼è¡ï¼åã®è¡åã§ãããæ®æ®µã¯ãã¾ãæèããå¿ è¦ã¯ãªãããã§ãã UIImageViewã®ã¤ã³ã¹ã¿ã³ã¹ã¨ãã¦myViewãããã¨ããï¼åã«æ¡å¤§ããæ¹æ³ CGAffineTransform trans; trans = CGAffineTransformMakeScale( 2, 2); // x,y2åã«æ¡å¤§ myView.transform=trans; æ¡å¤§ããããã«90度å転 CGAffineTransform trans; trans = CGAffineTransformMakeScale( 2, 2); trans = CGAff
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
Core Graphicsã§ä½ãiPadåããçµµæãã¢ããªã®åºç¤ï¼SDKã§å§ããiPad/iPhoneã¢ããªéçºã®åæï¼5ï¼ï¼1/4 ãã¼ã¸ï¼ åãã¦iPhoneï¼iPadã¢ããªéçºã«ææ¦ãã人ããè¿·ããçæéã§ã¢ããªãä½ããããã«ãæ°å¤ãã®æ å ±ã®ä¸ããè¦ç¹ãã°ã£ã¨çµã£ãéçºã®åæãç´¹ä»ããå ¥éé£è¼ã§ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}