æè¿ãgetBoundsã®åå¨ã¨ãMatrxã®ä¾¿å©ãã«ããããæ°ã¥ãã¾ããã åºæºç¹ã¨éãå ´æãåºæºã«ãªãã¸ã§ã¯ããå¤å½¢ãããå ´é¢ã«ééãã¦ã widthãheightãrotationã«sin,cosã¾ã§æã¡åºãã¦æ©ãã§ããã§ãã getBounds + Matrixã使ããã¨ã§ããã£ã¨ç°¡åã«ã§ãã¡ãããã§ããã æé 㯠(1).Matrix.translate ã§ãªãã¸ã§ã¯ãã移åãã¦ãåºæºç¹ãå¤ã㦠(2).Matrix.scale,Matrix.rotateã§ãªãã¸ã§ã¯ãã«ä»»æã®å¤å½¢ãå ã㦠(3).Matrix.translate ã§ãªãã¸ã§ã¯ããå
ã®ä½ç½®ã«ç§»åãã¦ããã ã®ï¼STEPã ããã§ãåºæºç¹ãå¤ããã¨ãã«å½¹ã«ç«ã¤ã®ãgetBoundsã getBoundsã¯è¡¨ç¤ºãªãã¸ã§ã¯ãã®é åããç©å½¢ï¼Rectangleï¼ã§è¿ãã¦ãããã¡ã½ããã§ã åºæºç¹ã®ä½ç½®ãããªãã¸ã§ã¯ãã®å¤
{{#tags}}- {{label}}
{{/tags}}