-
半徑超出的情況,會在延長線上找到切點,①從起始點繪制到切點→②從切點繪制弧查看全部
-
isPointInStroke和isPointInPath函數(shù),要了解一下,一個是判斷當前點是否在一個路徑中,一個是當前點是否在一個圖形內(nèi)查看全部
-
fillStyle = image || canvas || video 時:查看全部
-
fillStyle = gradient 時:查看全部
-
fillStyle = color時:查看全部
-
fillStyle可以賦予的值:color/gradient/image/canvas/video查看全部
-
圖片填充: createPattern( img, repeat-style ); 畫布填充: createPattern( canvas, repeat-style ); 視頻背景填充: createPattern( vedio, repeat-style );查看全部
-
徑向漸變: step1: var grd = context.createRadialGradient( x0, y0, r0, x1, y1, r1 ); step2: grd.addColorStop( stop, color );查看全部
-
arc(x y r start end bool)查看全部
-
creatPattern img canvas vieo查看全部
-
gradient查看全部
-
illStyle=color、gradient(漸變色((createLinearGradient)(createRadialGradient)+addColorStop(stop,color))、((image(var img=new Image() img.src=路徑)、canvas(注意創(chuàng)建的新節(jié)點createElement("")、return 節(jié)點)、video)+createPattern(以上類型,repeat/repeat-x/y))查看全部
-
createBackgroundCanvas()查看全部
-
第一個參數(shù)可以為canvas查看全部
-
createPattern(img,repeat-style)查看全部
舉報
0/150
提交
取消