-
globalAlpha全局都具有透明度,默認(rèn)為1,沒(méi)有透明度 globalCompositeOperation=destination-over前面繪制的圖形壓在后繪制上 source-over查看全部
-
shadowColor shadowOffsetX shadowBlur模糊程度查看全部
-
context.measureText("").width字符串的寬度查看全部
-
context.font="樣式 字號(hào) 字體"; context.fillText("書(shū)寫(xiě)的文字",文字的x,文字的y); context.strokeText("",x,y,最長(zhǎng)寬度:?jiǎn)挝粸橄袼?查看全部
-
quadraticCurveTo()貝塞爾二次曲線查看全部
-
createPattern(圖片,repeat-style); img.src=""; img.onload=function(){ context.create.. } repeat-style:no-repeat,repeat-x,repeat-y,repeat;查看全部
-
RadialGradient(x0,y0,r0,x1,y1,r1) xy為原點(diǎn)坐標(biāo),r為半徑 addColorStop(位置,顏色)查看全部
-
context.fillStyle=context.createLinerGradient(xstart,ystart,xend,yend).addColorStop(位置,顏色); 位置是0到1的浮點(diǎn)數(shù)。 context.fillRect();畫(huà)矩形查看全部
-
transform(..); setTransform();查看全部
-
context.save();狀態(tài)的保存 context.restore();狀態(tài)的回復(fù)查看全部
-
畫(huà)五角星通用的代碼查看全部
-
線條的屬性:lineWidth:線條的寬度 lineCap:線條的兩端帽子的樣式:butt,round,square lineJoin:線條銜接時(shí)所顯示的樣式miter,bevel,round miterLimit:對(duì)線條銜接的miter樣式顯示的限制查看全部
-
曲線繪制查看全部
-
圓弧公式查看全部
-
變換矩陣查看全部
舉報(bào)
0/150
提交
取消