First page Back Continue Last page Overview Graphics

2D繪圖工具(四)

var lineargradient = ctx.createLinearGradient(0,0,200,200);

lineargradient.addColorStop(0, 'white');

lineargradient.addColorStop(1, 'black');