·ÈÂÓjava/¥¤¥á¡¼¥¸¤Îȿž¡¦90ÅÙñ°Ì²óž
Last-modified: 2018-11-14 (¿å) 15:24:16 (2254d)
MIDP2.0¡Á, DoJa3.0¡Á¤Ç¶¦ÄÌŪ¤Ë»È¤¨¤ë¥¤¥á¡¼¥¸ÉÁ²è¤Ë¤Ä¤¤¤Æ¤Î¹Í»¡
MIDP2.0 †
Graphics¥¯¥é¥¹¤Î¥¤¥á¡¼¥¸ÉÁ²è¥á¥½¥Ã¥É°ú¿ô¤Ç»ØÄꤷ¤Þ¤¹¡£
drawRegion(Image src, int x_src, int y_src, int width, int height, int transform, ... ¤³¤³¤ËSprite¥¯¥é¥¹¤Î¥¯¥é¥¹Äê¿ô¤òÀßÄê int x_dest, int y_dest, int anchor)
DoJa3.0 †
Graphics¥¯¥é¥¹¤Î¥ª¥Ö¥¸¥§¥¯¥È¤ËÂФ·¤Æ¡¢g.setFlipMode(int flipmode)¤Ë¤Æ¥¤¥á¡¼¥¸¤ÎÉÁ²èÊýË¡¤òÀßÄꤷ¤Þ¤¹¡£
Graphics¥¯¥é¥¹¤Î¥¯¥é¥¹Äê¿ô¤òÀßÄꤷ¤Þ¤¹¡£
drawImage(Image, int, int)¡¢ drawImage(Image, int, int, int, int, int, int)¡¢ drawScaledImage(Image, int, int, int, int, int, int, int, int) ¥á¥½¥Ã¥É¤Ë¤ª¤±¤ëÉÁ²è¤ÇȿžÉÁ²è¤ò¹Ô¤¤¤Þ¤¹¡£ ¥ª¥×¥·¥ç¥óAPI¤ÎGraphics¥¯¥é¥¹¤Î¥µ¥Ö¥¯¥é¥¹¤Ë¤ª¤±¤ë¥¤¥á¡¼¥¸ÉÁ²è¥á¥½¥Ã¥É¤Ç ȿžÉÁ²è¤Î»ØÄ꤬͸ú¤«Èݤ«¤Ïµ¡¼ï°Í¸¤Ç¤¹¡£
³ÆÀßÄêÃÍ †
MIDP2.0¤ÎÀßÄêÃÍ | DoJa¤ÎÀßÄêÃÍ | ÆâÍÆ |
Sprite.TRANS_NONE | Graphics.FLIP_NONE | causes the specified image region to be copied unchanged. |
Sprite.TRANS_ROT90 | Graphics.FLIP_ROTATE_RIGHT | causes the specified image region to be rotated clockwise by 90 degrees. |
Sprite.TRANS_ROT180 | Graphics.FLIP_ROTATE | causes the specified image region to be rotated clockwise by 180 degrees. |
Sprite.TRANS_ROT270 | Graphics.FLIP_ROTATE_LEFT | causes the specified image region to be rotated clockwise by 270 degrees. |
Sprite.TRANS_MIRROR | Graphics.FLIP_HORIZONTAL | causes the specified image region to be reflected about its vertical center. |
Sprite.TRANS_MIRROR_ROT90 | causes the specified image region to be reflected about its vertical center and then rotated clockwise by 90 degrees. | |
Sprite.TRANS_MIRROR_ROT180 | Graphics.FLIP_VERTICAL | causes the specified image region to be reflected about its vertical center and then rotated clockwise by 180 degrees. |
Sprite.TRANS_MIRROR_ROT270 | causes the specified image region to be reflected about its vertical center and then rotated clockwise by 270 degrees. |