Androidããã°ã©ãã¸ã®é ã Moonlight ææ¥é¦ ã C/C++ããã°ã©ãã®ç®¡çè ã, Androidããã°ã©ã ã«ãã£ã¬ã³ã¸. Androidããã°ã©ãã³ã°ã®Tipsãã¡ã¢ã£ã¦ããäºå®ã§ã. ããããã¼ã¸ãã¼ã¸ä¸è¦§ã¡ã³ãã¼ç·¨é ç©å½¢ãæã æçµæ´æ°ï¼ moonlight_aska 2011å¹´09æ24æ¥(å) 09:48:19å±¥æ´ Tweet ç©å½¢ãæç»ããã«ã¯, Canvasãªãã¸ã§ã¯ããåå¾ãã¦, ãã®Canvasã«æç»ãã. ç©å½¢ãæã DrawRect.java Paintã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ãçæãã. Paint#setStyleã¡ã½ããã§, ç·ã®ã¿ã, å é¨ãå¡ãã¤ã¶ãã, ç·ã§æãå é¨ãå¡ãã¤ã¶ãããæå®ãã. Canvas#drawRectã¡ã½ããã§, ç©å½¢ã®åº§æ¨å¤(left, top, right, buttom)ãæå®ãã¦ç©å½¢ãæã. package c
{{#tags}}- {{label}}
{{/tags}}