Rumah > Soal Jawab > teks badan
<!DOCTYPE html<html> <meta charset="utf-8">/title> sempadan: 1px kelabu putus-putus } </style> if (oCanvas.getContext) { // Dapatkan konteks lukisan 2d var oContext = oCanvas.getContext("2d"); 0 ; i < data.panjang; i += 4) { // data merah[i + 0] = 255; ; // Data ketelusan[i + 3] = 100; oContext.putImageData(oImageData, } } </head> ="600" width="600"></canvas> </body></html>