void onPaint(int rend){ // ここで描画を行う setDrawColor(rend, 0, 0, 255, 255); //描画色の設定 drawRectangle(rend, 10, 10, 200, 200, true); //四角形描画 …